summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0085/stanza.py
AgeCommit message (Collapse)Author
2012-03-12Move XEP-0085 to the new system.Lance Stout
Optimized handlers so that only one is needed.
2012-02-19Update XEP-0085 plugin to work with both ElementTree and cElementTreeLance Stout
Each state element must have its own stanza class now. A stanza class with an empty name field causes errors in ElementTree, even though it works fine with cElementTree.
2011-02-24Updated the XEP-0085 plugin.Lance Stout
Can now be used as so: >>> msg['chat_state'] '' >>> msg <message /> >>> msg['chat_state'] = 'paused' >>> msg <message> <paused xmlns="http://jabber.org/protocol/chatstates" /> </message> >>> msg['chat_state'] 'paused' >>> del msg['chat_state'] >>> msg <message />