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

@@ -6,5 +6,14 @@
See the file LICENSE for copying permissio
"""
from sleekxmpp.plugins.base import register_plugin
from sleekxmpp.plugins.xep_0085.stanza import ChatState
from sleekxmpp.plugins.xep_0085.chat_states import xep_0085
from sleekxmpp.plugins.xep_0085.chat_states import XEP_0085
register_plugin(XEP_0085)
# Retain some backwards compatibility
xep_0085 = XEP_0085