AdrianSzymczak / jabber-net

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

how to change the user status ? #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 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 9 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 9 years ago
Michel is correct.

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

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

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