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

Doesn't send initial presence to yourself #14

Open
Zash opened this issue May 23, 2012 · 0 comments
Open

Doesn't send initial presence to yourself #14

Zash opened this issue May 23, 2012 · 0 comments

Comments

@Zash
Copy link

Zash commented May 23, 2012

Vines doesn't send you your initial presence, which you MUST according to Section 4.2.2 of XMPP IM:

The user's server MUST also broadcast initial presence from the
user's newly available resource to all of the user's available
resources, including the resource that generated the presence
notification in the first place (i.e., an entity is implicitly
subscribed to its own presence).

Based on a quick look at lib/vines/stanza/presence.rb I would guess that switching the order of presence broadcasting and stream.available! should fix this.

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

1 participant