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

set resource to null when close an active chat. #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

betheg
Copy link

@betheg betheg commented Feb 22, 2014

I think it would be useful to set the resource of an closed chat explicitly to null.
So when you send a new message to this contact and create a new active chat the message goes to barejid instead to the saved jid.

@spigot
Copy link

spigot commented Feb 22, 2014

not only would it be useful, but this is how its intended to work, iirc; sending first messages without a resource is what makes the entire priority system useful.

@andrewnenakhov
Copy link
Member

@a-iv , i'm not sure but I think this is a bad idea.

@a-iv
Copy link
Member

a-iv commented Feb 3, 2015

@betheg 👍

@andrewnenakhov andrewnenakhov added this to the 0.13.0 Xmpp fixes milestone Feb 3, 2015
@grigoryfedorov grigoryfedorov modified the milestone: 1.3 Various XMPP fixes Mar 22, 2016
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

Successfully merging this pull request may close these issues.

5 participants