summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0199/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 00:18:33 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit5a324c01de8cbca09609d7176306322bf24df414 (patch)
tree56c129eec1b3b3add34737ac311f769a3084a0f7 /sleekxmpp/plugins/xep_0199/__init__.py
parent17279de4a366bdec55382ff20fdee825f003bb4d (diff)
downloadslixmpp-5a324c01de8cbca09609d7176306322bf24df414.tar.gz
slixmpp-5a324c01de8cbca09609d7176306322bf24df414.tar.bz2
slixmpp-5a324c01de8cbca09609d7176306322bf24df414.tar.xz
slixmpp-5a324c01de8cbca09609d7176306322bf24df414.zip
Move XEP-0199 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0199/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0199/__init__.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0199/__init__.py b/sleekxmpp/plugins/xep_0199/__init__.py
index 3444fe94..5231a5b5 100644
--- a/sleekxmpp/plugins/xep_0199/__init__.py
+++ b/sleekxmpp/plugins/xep_0199/__init__.py
@@ -6,5 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0199.stanza import Ping
-from sleekxmpp.plugins.xep_0199.ping import xep_0199
+from sleekxmpp.plugins.xep_0199.ping import XEP_0199
+
+
+register_plugin(XEP_0199)
+
+
+# Backwards compatibility for names
+xep_0199 = XEP_0199
+xep_0199.sendPing = xep_0199.send_ping