[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teams for Personal Accounts #16

Closed
TechnoSwiss opened this issue Jul 7, 2022 · 7 comments
Closed

Teams for Personal Accounts #16

TechnoSwiss opened this issue Jul 7, 2022 · 7 comments

Comments

@TechnoSwiss
Copy link

Been thinking about switching from Skype to Teams Personal, but would love to stick with Pidgin for that. Thoughts on what would be required to get this working with a personal account? I'm getting the "Guest user OID is missing. User is not redeemed. (code 0)" error, but I'm guessing that's because I don't know/have a tenant to enter.

@ecxod
Copy link
ecxod commented Apr 9, 2023

I tested it also, it is not working I get : Login error: Guest user OID is missing. User is not redeemed. (code 0) I do not use Spectrum2

@niutech
Copy link
niutech commented Nov 9, 2023

If you want to add support for MS Teams Personal (free), have a look at the unofficial API which I am using in my Krak Bot chat bot, as well as the user enumeration in MS Teams Personal and MessagingAPIService.json.

EionRobb added a commit that referenced this issue Feb 18, 2024
@EionRobb
Copy link
Owner

There's a first cut of a Teams personal/free in the above commit if anyone's interested in trying it. (or https://github.com/EionRobb/purple-teams/actions/runs/7948474584/artifacts/1254441417 for Windows people)

It shows up as a separate protocol in the dropdown list as there's some subtle differences between the two, including a different authentication client id.
image

I've only tested out the bare basics of sending a few one-to-one IMs to myself, so would appreciate some feedback of things that need improving :)

@niutech
Copy link
niutech commented Feb 18, 2024

@EionRobb I can confirm Teams Personal works in Pidgin 2.14 on Windows 10! However, it doesn't download any user names (only IDs) until I restart Pidgin:

Purple-Teams

There are also some empty contacts in my buddy list without any ID:

Purple-Teams

Also the list of rooms is cryptic, showing only IDs, as well as some hidden/deleted meetings:

Purple-Teams

But apart from that, the greatest thing is that this Teams client takes only 15 MB of RAM instead of hundreds MB! 🎉

Pidgin RAM usage

Well done, thank you!

One question: does deleting a contact from the buddy list remove it also from MS Teams server? I don't think it would be desired outcome.

@niutech
Copy link
niutech commented Feb 18, 2024

A major issue: I cannot send a message from Pidgin directly to a buddy in Teams (live:.cid.xxxxxxxxxx), I have to open a chat room with me & him (19:uni01_xxxxxxxxxxxxxxxxxxxx@thread.v2) and type my message there. This is counter intuitive.

@EionRobb
Copy link
Owner

Ah! I hadn't tried sending any new outgoing messages, only replying to incoming.

Those 2 issues you describe might be interrelated though, there's different ways of detecting a one-to-one chat to what's in the Teams for Work, and it doesn't sound like it's linking the chat room up with the contact properly. Fingers crossed solving one solves the other!

@EionRobb
Copy link
Owner

I believe sending messages on Teams Personal accounts works ok now, as of a few commits ago? Please feel free to reopen this issue if it's still a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants