summaryrefslogtreecommitdiff
path: root/sleekxmpp/features/feature_session
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/features/feature_session')
-rw-r--r--sleekxmpp/features/feature_session/session.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/features/feature_session/session.py b/sleekxmpp/features/feature_session/session.py
index 4d17b2d2..9c5e0448 100644
--- a/sleekxmpp/features/feature_session/session.py
+++ b/sleekxmpp/features/feature_session/session.py
@@ -48,6 +48,8 @@ class feature_session(base_plugin):
iq.enable('session')
response = iq.send(now=True)
+ self.xmpp.features.add('session')
+
log.debug("Established Session")
self.xmpp.sessionstarted = True
self.xmpp.session_started_event.set()