summaryrefslogtreecommitdiff
path: root/tests/test_chatstates.py
AgeCommit message (Collapse)Author
2010-08-05Updated tests to use a relative import for SleekTest to please Python3.Lance Stout
Fixed some tabs/spaces issues.
2010-07-19Condensed all of the stanzaPlugin functions into a single ↵Lance Stout
registerStanzaPlugin function. Updated plugins and tests to use new function.
2010-06-27Refactored unit tests for XEP-0030, XEP-0033, and XEP-0085 to use the new ↵Lance Stout
SleekTest class.
2010-05-31Added implementation and tests for XEP-0085 - Chat State Notifications.Lance stout
Chat states may be set using: msg['chat_state'].active() msg['chat_state'].composing() msg['chat_state'].gone() msg['chat_state'].inactive() msg['chat_state'].paused() Checking a chat state can be done with either: msg['chat_state'].getState() msg['chat_state'].name When a message with a chat state is receieved, the following events may occur: chatstate_active chatstate_composing chatstate_gone chatstate_inactive chatstate_paused where the event data is the message stanza. Note that currently these events are also triggered for messages sent by SleekXMPP, not just those received.