summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0224/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 00:32:39 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:20 -0700
commit87d6ade06d0c51245e2dc4292f5dfb802f98d453 (patch)
treeea1308e6209908bbd6f2efe88b1e5bd410a8a0b2 /sleekxmpp/plugins/xep_0224/__init__.py
parent4a009515c1675e8f1ce8003707e71d7377bc4192 (diff)
downloadslixmpp-87d6ade06d0c51245e2dc4292f5dfb802f98d453.tar.gz
slixmpp-87d6ade06d0c51245e2dc4292f5dfb802f98d453.tar.bz2
slixmpp-87d6ade06d0c51245e2dc4292f5dfb802f98d453.tar.xz
slixmpp-87d6ade06d0c51245e2dc4292f5dfb802f98d453.zip
Move XEP-0224 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0224/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0224/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0224/__init__.py b/sleekxmpp/plugins/xep_0224/__init__.py
index 62f5bf82..1a9d2342 100644
--- a/sleekxmpp/plugins/xep_0224/__init__.py
+++ b/sleekxmpp/plugins/xep_0224/__init__.py
@@ -6,6 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0224 import stanza
from sleekxmpp.plugins.xep_0224.stanza import Attention
-from sleekxmpp.plugins.xep_0224.attention import xep_0224
+from sleekxmpp.plugins.xep_0224.attention import XEP_0224
+
+
+register_plugin(XEP_0224)
+
+
+# Retain some backwards compatibility
+xep_0224 = XEP_0224