Move feature_session to new system.

This commit is contained in:
Lance Stout
2012-03-12 19:52:20 -07:00
parent 9596616b42
commit ed5a2f400d
2 changed files with 17 additions and 8 deletions

View File

@@ -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