summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-08-24 11:47:21 -0700
committerLance Stout <lancestout@gmail.com>2012-08-24 11:47:21 -0700
commitc7ec6a72cda41c7dbbdd4193d795b5dd8df4843f (patch)
treee1c2dca0132712851941d9501f60bf7fe251bfd6 /sleekxmpp/plugins
parente68b07dbce6b03ef99a19886a9b53808e5a04289 (diff)
downloadslixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.tar.gz
slixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.tar.bz2
slixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.tar.xz
slixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.zip
Add catch-all chatstate event.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0085/chat_states.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0085/chat_states.py b/sleekxmpp/plugins/xep_0085/chat_states.py
index 17e19d35..17f82afd 100644
--- a/sleekxmpp/plugins/xep_0085/chat_states.py
+++ b/sleekxmpp/plugins/xep_0085/chat_states.py
@@ -52,4 +52,5 @@ class XEP_0085(BasePlugin):
def _handle_chat_state(self, msg):
state = msg['chat_state']
log.debug("Chat State: %s, %s", state, msg['from'].jid)
+ self.xmpp.event('chatstate', msg)
self.xmpp.event('chatstate_%s' % state, msg)