summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0085/__init__.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/__init__.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/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0085/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0085/__init__.py b/sleekxmpp/plugins/xep_0085/__init__.py
index ff882f05..445d5059 100644
--- a/sleekxmpp/plugins/xep_0085/__init__.py
+++ b/sleekxmpp/plugins/xep_0085/__init__.py
@@ -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