diff options
author | Lance Stout <lancestout@gmail.com> | 2012-03-12 19:52:20 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-03-12 19:52:20 -0700 |
commit | ed5a2f400dc1ac5d6db3242857b1a3ac1c7f72d0 (patch) | |
tree | 97367e966787956dc8dbc0517e1adaa85637e786 /sleekxmpp/features/feature_session/__init__.py | |
parent | 9596616b424417f8a03657dfc3c958eb92147a3b (diff) | |
download | slixmpp-ed5a2f400dc1ac5d6db3242857b1a3ac1c7f72d0.tar.gz slixmpp-ed5a2f400dc1ac5d6db3242857b1a3ac1c7f72d0.tar.bz2 slixmpp-ed5a2f400dc1ac5d6db3242857b1a3ac1c7f72d0.tar.xz slixmpp-ed5a2f400dc1ac5d6db3242857b1a3ac1c7f72d0.zip |
Move feature_session to new system.
Diffstat (limited to 'sleekxmpp/features/feature_session/__init__.py')
-rw-r--r-- | sleekxmpp/features/feature_session/__init__.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_session/__init__.py b/sleekxmpp/features/feature_session/__init__.py index 3c84baed..28bb3f77 100644 --- a/sleekxmpp/features/feature_session/__init__.py +++ b/sleekxmpp/features/feature_session/__init__.py @@ -6,5 +6,14 @@ See the file LICENSE for copying permission. """ -from sleekxmpp.features.feature_session.session import feature_session +from sleekxmpp.plugins.base import register_plugin + +from sleekxmpp.features.feature_session.session import FeatureSession from sleekxmpp.features.feature_session.stanza import Session + + +register_plugin(FeatureSession) + + +# Retain some backwards compatibility +feature_session = FeatureSession |