Projects tigase _server server-core Issues #54
Initial presence is not sent back to resource (#54)
Closed
Artur Hefczyc opened 1 decade ago

This is what a user on the forums has written:

"""

RFC 6121, section 4.2.2 states:

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).

It appears that Tigase does not broadcast initial presence to the resource that generated the initial presence notification.

"""

Specs: http://xmpp.org/rfcs/rfc6121.html#presence-initial-outbound

Artur Hefczyc commented 1 decade ago

Code in Presence.updateUserResources(...) method is responsible for distributing resource presence to all other resources. It also makes sure the presence is not sent back to the resource which generated the presence.

The fix seems to be trivial however it will require lots of testing to make sure it does not cause any unexpected problems.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
134
Version
tigase-server-5.1.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#54
Please wait...
Page is in error, reload to recover