summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-03-18 17:57:49 -0400
committerLance Stout <lancestout@gmail.com>2011-03-18 17:57:49 -0400
commitaf45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2 (patch)
treeeb81220820e46574c64c91fa176b8acc8c16301e /sleekxmpp
parent566ec8a5f90b8d38d53e3c98212e5a3c6cec6206 (diff)
downloadslixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.tar.gz
slixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.tar.bz2
slixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.tar.xz
slixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.zip
Fix error with session feature.
Diffstat (limited to 'sleekxmpp')
-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'