summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r--sleekxmpp/stanza/__init__.py1
-rw-r--r--sleekxmpp/stanza/session.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/__init__.py b/sleekxmpp/stanza/__init__.py
index ef44dfb2..4481fa42 100644
--- a/sleekxmpp/stanza/__init__.py
+++ b/sleekxmpp/stanza/__init__.py
@@ -14,4 +14,5 @@ from sleekxmpp.stanza.message import Message
from sleekxmpp.stanza.presence import Presence
from sleekxmpp.stanza.stream_features import StreamFeatures
from sleekxmpp.stanza.bind import Bind
+from sleekxmpp.stanza.session import Session
diff --git a/sleekxmpp/stanza/session.py b/sleekxmpp/stanza/session.py
index b7b175d2..c9d97157 100644
--- a/sleekxmpp/stanza/session.py
+++ b/sleekxmpp/stanza/session.py
@@ -15,7 +15,7 @@ class Session(ElementBase):
"""
"""
- name = 'bind'
+ name = 'session'
namespace = 'urn:ietf:params:xml:ns:xmpp-session'
interfaces = set()
plugin_attrib = 'session'