Move XEP-0085 to the new system.

Optimized handlers so that only one is needed.
This commit is contained in:
Lance Stout
2012-03-11 22:56:07 -07:00
parent 6d855ec06c
commit 3fda053606
3 changed files with 22 additions and 14 deletions

View File

@@ -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'))