Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-02-19 | Update XEP-0085 plugin to work with both ElementTree and cElementTree | Lance 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-24 | Updated 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 /> |