summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza/nick.py
diff options
context:
space:
mode:
authorLance stout <lancestout@gmail.com>2010-05-31 13:24:14 -0400
committerLance stout <lancestout@gmail.com>2010-05-31 13:24:14 -0400
commit629f6e76a9c003ef8befdfdf023f2e5b9eadc718 (patch)
tree6662bf0a70b2950d72bd2e3f788064f49557ba3c /sleekxmpp/stanza/nick.py
parent1e3a6e1b5f06d307295be6b4ccaf75bf2a48399d (diff)
downloadslixmpp-629f6e76a9c003ef8befdfdf023f2e5b9eadc718.tar.gz
slixmpp-629f6e76a9c003ef8befdfdf023f2e5b9eadc718.tar.bz2
slixmpp-629f6e76a9c003ef8befdfdf023f2e5b9eadc718.tar.xz
slixmpp-629f6e76a9c003ef8befdfdf023f2e5b9eadc718.zip
Added implementation and tests for XEP-0085 - Chat State Notifications.
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.
Diffstat (limited to 'sleekxmpp/stanza/nick.py')
0 files changed, 0 insertions, 0 deletions