Not logged in. · Lost password · Register
Forum: agsXMPP RSS
jshamid #1
Member since Feb 2007 · 30 posts
Group memberships: Members
Show profile · Link to this post
Subject: presence notification in chat window
hi, if one user goes offline,  when two users a chatting, how to notify the user's presence in chat window.

please help me.

Alex #2
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hi jshamid,

i don't understand your problem. There are many ways to do that.

  • Just look in the OnPresence event in your main class if the user goes offline and pass it to your chat window
  • pass the XmppClientConnection instance to your chatwindow add a OnPresence handler.
  • Or use a PresenceGrabber instance in your chat window

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