kami13sep / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

room presence #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
just two little suggestion (or request...)
I receive the presence from a room (conference) with
JabberClient.OnPresence also when an user join/leave a room.
The problem I'm encountering is that when i receive OnPresence unavailable
for a user "x" the user x has been already removed from room.Participants
so i can't anymore get the user's realJid. 
Isn't it better to fire the event before removing the partecipant?
Another thing: is it possible to have some event on the room like
OnParticipantJoin, OnParticipantLeave to better manage the room (and
without having to store someway in my software the link jid - room)?
thank you

Original issue reported on code.google.com by chiod...@gmail.com on 4 Feb 2008 at 3:12

GoogleCodeExporter commented 8 years ago
I used a PresenceManager to help these issues out, but I'll look into making it 
easier.

Original comment by hil...@gmail.com on 5 Feb 2008 at 9:26

GoogleCodeExporter commented 8 years ago
Added OnParticipantJoin, OnParticipantLeave, OnParticipantPresenceChange.

Original comment by hil...@gmail.com on 6 Feb 2008 at 12:30