summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0184/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 23:47:41 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit17279de4a366bdec55382ff20fdee825f003bb4d (patch)
treefb930fbb4b57bc6bfdb4760454b3ab5fcd048c30 /sleekxmpp/plugins/xep_0184/__init__.py
parent34a7a62c35ab9ef0c3ac7b3c86455402ac3386ab (diff)
downloadslixmpp-17279de4a366bdec55382ff20fdee825f003bb4d.tar.gz
slixmpp-17279de4a366bdec55382ff20fdee825f003bb4d.tar.bz2
slixmpp-17279de4a366bdec55382ff20fdee825f003bb4d.tar.xz
slixmpp-17279de4a366bdec55382ff20fdee825f003bb4d.zip
Move XEP-0184 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0184/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0184/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0184/__init__.py b/sleekxmpp/plugins/xep_0184/__init__.py
index e401eb76..01de14aa 100644
--- a/sleekxmpp/plugins/xep_0184/__init__.py
+++ b/sleekxmpp/plugins/xep_0184/__init__.py
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0184.stanza import Request, Received
-from sleekxmpp.plugins.xep_0184.reciept import xep_0184
+from sleekxmpp.plugins.xep_0184.reciept import XEP_0184
+
+
+register_plugin(XEP_0184)
+
+
+# Retain some backwards compatibility
+xep_0184 = XEP_0184