diff options
author | Lance Stout <lancestout@gmail.com> | 2012-08-24 11:47:21 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-08-24 11:47:21 -0700 |
commit | c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f (patch) | |
tree | e1c2dca0132712851941d9501f60bf7fe251bfd6 | |
parent | e68b07dbce6b03ef99a19886a9b53808e5a04289 (diff) | |
download | slixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.tar.gz slixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.tar.bz2 slixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.tar.xz slixmpp-c7ec6a72cda41c7dbbdd4193d795b5dd8df4843f.zip |
Add catch-all chatstate event.
-rw-r--r-- | sleekxmpp/plugins/xep_0085/chat_states.py | 1 |
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) |