Open GoogleCodeExporter opened 9 years ago
JabberClient.Presence method supports this.
Use something like
jc.Presence(PresenceType.available, "I am going away", "away",1)
The first argument should be available, unless you are disconnecting.
The second argument is the reason for the change (User-entered)
The third argument is how you want other clients to display you. Supported
"show"
types include "available", "away", "dnd" (Do not disturb), and "xa" (Extended
Away).
Note that the above assumes you are already connected and authenticated to an
XMPP
server.
Original comment by theycall...@gmail.com
on 30 Mar 2010 at 9:29
Original issue reported on code.google.com by
obi...@gmail.com
on 10 Dec 2009 at 10:03