summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0115/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 10:01:17 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:20 -0700
commit57d761b8a2cb01d061a37ef1d9d5fb992a9e1dcf (patch)
tree46be327cdac0ee16d19e71bd9ef68d097e5b744a /sleekxmpp/plugins/xep_0115/__init__.py
parent8b2023225ce455395729b2815aecc31189350226 (diff)
downloadslixmpp-57d761b8a2cb01d061a37ef1d9d5fb992a9e1dcf.tar.gz
slixmpp-57d761b8a2cb01d061a37ef1d9d5fb992a9e1dcf.tar.bz2
slixmpp-57d761b8a2cb01d061a37ef1d9d5fb992a9e1dcf.tar.xz
slixmpp-57d761b8a2cb01d061a37ef1d9d5fb992a9e1dcf.zip
Move XEP-0115 to the new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0115/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0115/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0115/__init__.py b/sleekxmpp/plugins/xep_0115/__init__.py
index f4892f84..31a2c03a 100644
--- a/sleekxmpp/plugins/xep_0115/__init__.py
+++ b/sleekxmpp/plugins/xep_0115/__init__.py
@@ -6,6 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0115.stanza import Capabilities
from sleekxmpp.plugins.xep_0115.static import StaticCaps
-from sleekxmpp.plugins.xep_0115.caps import xep_0115
+from sleekxmpp.plugins.xep_0115.caps import XEP_0115
+
+
+register_plugin(XEP_0115)
+
+
+# Retain some backwards compatibility
+xep_0115 = XEP_0115