Skip to content
This repository was archived by the owner on Nov 19, 2021. It is now read-only.

Conversation

le-yak
Copy link
Contributor

@le-yak le-yak commented Dec 8, 2020

After gaining some insight on XMPP, I am reiterating an old, broken pull request (#86)

The "from" parameter returned from the chat event drops the "resource" part of the JID. This contradicts the README, and the inconsistency with the groupchat event is unexpected (although somewhat understandable).
This was changed during bac1433, probably overlooking cases when the chat is a private message from a MUC (then the first part before the / is just the room's JID).

Fixes #82.

@silverbucket
Copy link
Member

Thanks @le-yak - this looks good to me.

@silverbucket silverbucket merged commit b958245 into simple-xmpp:master Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect from field for chat started from within a chatroom
2 participants