chandrabp / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

how to change the user status ? #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I tried to change the user state by the following :

JC.Presence(jabber.protocol.client.PresenceType.available, "I'm 
here !", "xa", 0)

it works fine but the problem is that the user state icon,in google talk, 
changes to orange one(instead of green one) which means idle status!

I would be so appreciate if someone help me on this issue.
thanks

Original issue reported on code.google.com by mora...@gmail.com on 4 May 2009 at 8:55

GoogleCodeExporter commented 8 years ago
instead of "xa" try null.

i found out that this value should be either null, "away", "dnd", or "", to 
work with  
spark.

Original comment by michel.y...@vtxmail.ch on 5 May 2009 at 7:07

GoogleCodeExporter commented 8 years ago
Michel is correct.

Original comment by hil...@gmail.com on 5 May 2009 at 7:02

GoogleCodeExporter commented 8 years ago
thanks dear friends.
It works :-)

Original comment by mora...@gmail.com on 5 May 2009 at 7:44