Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
Radzhab #1
Member since Nov 2015 · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: How get Jid user presence?
I use agsXMPP lib, but i dont understand how retrieve jabber status of purpose client?

I have event

  1. xmppCon.OnPresence += new PresenceHandler(xmppCon_OnPresence);

but it work only when user want add me. I simply want get status. How make it?
This post was edited on 2015-11-17, 23:01 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
have you studied the MiniClient example?

The presence function is called for every presence update, online presence and subscription request.

Alex
Avatar
Radzhab #3
Member since Nov 2015 · 5 posts
Group memberships: Members
Show profile · Link to this post
how force update presence?
Avatar
Alex #4
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The server sends them automatically in real time.
There is no reason to force updates.
This post was edited on 2015-11-18, 11:14 by Alex.
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 RSS