summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0085/stanza.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 22:56:07 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit3fda053606c3e36943aab638359c59e33c878635 (patch)
tree1c77133e8085bdc95b1397ae88308ad524b6efd3 /sleekxmpp/plugins/xep_0085/stanza.py
parent6d855ec06cd1fb7cdbef0f11d6d10e39766cc006 (diff)
downloadslixmpp-3fda053606c3e36943aab638359c59e33c878635.tar.gz
slixmpp-3fda053606c3e36943aab638359c59e33c878635.tar.bz2
slixmpp-3fda053606c3e36943aab638359c59e33c878635.tar.xz
slixmpp-3fda053606c3e36943aab638359c59e33c878635.zip
Move XEP-0085 to the new system.
Optimized handlers so that only one is needed.
Diffstat (limited to 'sleekxmpp/plugins/xep_0085/stanza.py')
-rw-r--r--sleekxmpp/plugins/xep_0085/stanza.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0085/stanza.py b/sleekxmpp/plugins/xep_0085/stanza.py
index 73c109ac..c2cafb19 100644
--- a/sleekxmpp/plugins/xep_0085/stanza.py
+++ b/sleekxmpp/plugins/xep_0085/stanza.py
@@ -38,6 +38,7 @@ class ChatState(ElementBase):
namespace = 'http://jabber.org/protocol/chatstates'
plugin_attrib = 'chat_state'
interfaces = set(('chat_state',))
+ sub_interfaces = interfaces
is_extension = True
states = set(('active', 'composing', 'gone', 'inactive', 'paused'))