powered by Jive Software

Status message help?

Hi,

I figure when the user changes his/her status on spark, a jabber xml message is sent. Is there a way to change a user’s status without doing it in spark?

Hey rnbguy,

Your intuitions about changing presence status by sending raw XMPP presence packets are correct. If you are a novice and wish to learn how to write a program to perform such a task (be it small or large), I suggest reading Programming Jabber. This is a good primer to programming XMPP applications, although it is a bit dated. (Check http://www.xmpp.org/extensions/ for updated extension specifications).

If you already familiar with the way XMPP works, check http://www.xmpp.org/rfcs/rfc3921.html#presence for exact semantics on changing presence status.

Good luck and have fun.