Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
richguy #1
Member since Feb 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to get self status
Hi,
I am working on this great library to develop a jabber client.I had a question.

How do I get my previous status when I sign in again.For example,I have noticed in other IM clients that if my status was busy the last time I logged out ,the next time I login my status is busy again.Can you please tell me which class or property should I use to get this previous status information.

Thanks in advance for the help !
Avatar
javanesevn #2
Member since Apr 2008 · 74 posts · Location: Japan
Group memberships: Members
Show profile · Link to this post
Hi Richguy,

Server didn't trace this stuff. You have to do it yourself and you have two options to implement your idea.
   Saving your last status :
      1. to local and send back a presence to server for next login.
      2. to server by implementing XEP-0049: Private XML Storage
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