summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0203/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 00:29:00 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:20 -0700
commit4a009515c1675e8f1ce8003707e71d7377bc4192 (patch)
treed6f23874399a371de6e2761ca763ead3515e942e /sleekxmpp/plugins/xep_0203/__init__.py
parent6497857495d185401426ba31441e3039fb316891 (diff)
downloadslixmpp-4a009515c1675e8f1ce8003707e71d7377bc4192.tar.gz
slixmpp-4a009515c1675e8f1ce8003707e71d7377bc4192.tar.bz2
slixmpp-4a009515c1675e8f1ce8003707e71d7377bc4192.tar.xz
slixmpp-4a009515c1675e8f1ce8003707e71d7377bc4192.zip
Move XEP-0203 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0203/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0203/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0203/__init__.py b/sleekxmpp/plugins/xep_0203/__init__.py
index 445ccf37..d4d99a6c 100644
--- a/sleekxmpp/plugins/xep_0203/__init__.py
+++ b/sleekxmpp/plugins/xep_0203/__init__.py
@@ -6,7 +6,16 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0203 import stanza
from sleekxmpp.plugins.xep_0203.stanza import Delay
-from sleekxmpp.plugins.xep_0203.delay import xep_0203
+from sleekxmpp.plugins.xep_0203.delay import XEP_0203
+
+
+
+register_plugin(XEP_0203)
+
+# Retain some backwards compatibility
+xep_0203 = XEP_0203