Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
sameh_zaky #1
Member since May 2008 · 8 posts · Location: Egypt
Group memberships: Members
Show profile · Link to this post
Subject: PresenceCallback event
hi every body,
i create my jabber client depend on the "MiniClient",
i change some controls and so on,now it is working correctly
but when the users enter a chat room they can see the send messages
which all users of the room send it,

but my problem is the names of the chat room users it didn't appears in the list view
in the "frmGroupChat".I try to track that,i found that the new user when enter the room he does 
trigger the event "PresenceCallback" in the users which already in the room so his name didn't appear
in there client,
any body has explanation to that 

thanks
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
Quote by sameh_zaky:
but my problem is the names of the chat room users it didn't appears in the list view
in the "frmGroupChat".I try to track that,i found that the new user when enter the room he does 
trigger the event "PresenceCallback" in the users which already in the room so his name didn't appear
in there client,
any body has explanation to that 
The nickname is in the presence packet. Its the resource part of the jid.

A presence looks like this
  1. <presence from="bob@ag-software.de/Bob" />

pres.From.Resource is the nickname
Software Developer
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP SDK Support RSS