summaryrefslogtreecommitdiff
path: root/sleekxmpp/features/feature_rosterver/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 20:04:11 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 20:04:11 -0700
commit7284ceb90ccc3f612b93fa5548ba22677f869bc7 (patch)
tree271bef12430b75d6bca84f47557055c97721b92d /sleekxmpp/features/feature_rosterver/__init__.py
parent24ec448b7f29b6eb66818715bdbd30e09fd0ed0b (diff)
downloadslixmpp-7284ceb90ccc3f612b93fa5548ba22677f869bc7.tar.gz
slixmpp-7284ceb90ccc3f612b93fa5548ba22677f869bc7.tar.bz2
slixmpp-7284ceb90ccc3f612b93fa5548ba22677f869bc7.tar.xz
slixmpp-7284ceb90ccc3f612b93fa5548ba22677f869bc7.zip
Move feature_rosterver to new system.
Diffstat (limited to 'sleekxmpp/features/feature_rosterver/__init__.py')
-rw-r--r--sleekxmpp/features/feature_rosterver/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_rosterver/__init__.py b/sleekxmpp/features/feature_rosterver/__init__.py
index c83dd01c..33bbf416 100644
--- a/sleekxmpp/features/feature_rosterver/__init__.py
+++ b/sleekxmpp/features/feature_rosterver/__init__.py
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
-from sleekxmpp.features.feature_rosterver.rosterver import feature_rosterver
+from sleekxmpp.plugins.base import register_plugin
+
+from sleekxmpp.features.feature_rosterver.rosterver import FeatureRosterVer
from sleekxmpp.features.feature_rosterver.stanza import RosterVer
+
+
+register_plugin(FeatureRosterVer)
+
+
+# Retain some backwards compatibility
+feature_rosterver = FeatureRosterVer