summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Robinson <rerobins@gmail.com>2015-09-14 17:06:07 -0600
committerRobert Robinson <rerobins@gmail.com>2015-09-14 17:06:07 -0600
commit110cf25c6d6055e0decb6907bfc7d0df8434c839 (patch)
tree8e332f2fe7d0592c1b394bb559a259fcf328140b
parentf2bf6072ec447cf5cc331b4057b29078b1c932b5 (diff)
downloadslixmpp-110cf25c6d6055e0decb6907bfc7d0df8434c839.tar.gz
slixmpp-110cf25c6d6055e0decb6907bfc7d0df8434c839.tar.bz2
slixmpp-110cf25c6d6055e0decb6907bfc7d0df8434c839.tar.xz
slixmpp-110cf25c6d6055e0decb6907bfc7d0df8434c839.zip
Add plugin support
-rw-r--r--sleekxmpp/plugins/xep_0122/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0122/__init__.py b/sleekxmpp/plugins/xep_0122/__init__.py
index 65ce96a1..c0a0bc35 100644
--- a/sleekxmpp/plugins/xep_0122/__init__.py
+++ b/sleekxmpp/plugins/xep_0122/__init__.py
@@ -1 +1,11 @@
+
+from sleekxmpp.plugins.base import register_plugin
from sleekxmpp.plugins.xep_0122.stanza import FormValidation
+from sleekxmpp.plugins.xep_0122.data_validation import XEP_0122
+
+
+register_plugin(XEP_0122)
+
+
+# Retain some backwards compatibility
+xep_0121 = XEP_0122