SweetSoy: XMPP Auto-Away
completed by: Moises Dahab
mentors: Arc Riley, Tony Young, David Czech
XMPP provides a simple way to update your presence information, such as "Available", "Away", "Busy", etc by sending a <presence> stanza to the server.
Add hooks to update a user's presence to "Away" when SweetSoy is running in the background and "Available" when in the foreground.
While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.
When you've done, commit your work and post the resulting changeset url to this task.