Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
yagami #1
Member since Mar 2012 · 30 posts
Group memberships: Members
Show profile · Link to this post
Subject: Get Presence again?
When login to server, I can get Presence..
But how to get presence again?XmppClient.SendPresence()?But it always get my own presence, can't get others user presence...

Thx~
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
whenever a contact updates his Presence you get a notification from the server once automatically. There is no way to request this presence again. Add a dictionary to your code with all presences. Then you can lookup the presence at any time in your dictionary.

Alex
Avatar
yagami #3
Member since Mar 2012 · 30 posts
Group memberships: Members
Show profile · Link to this post
Ok~~I got it~~
Thank you~:D
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: