diff options
author | Lance Stout <lancestout@gmail.com> | 2011-03-18 17:57:49 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-03-18 17:57:49 -0400 |
commit | af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2 (patch) | |
tree | eb81220820e46574c64c91fa176b8acc8c16301e | |
parent | 566ec8a5f90b8d38d53e3c98212e5a3c6cec6206 (diff) | |
download | slixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.tar.gz slixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.tar.bz2 slixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.tar.xz slixmpp-af45b51f4fe32b37e80e51dea66b9fd0ca3d8ad2.zip |
Fix error with session feature.
-rw-r--r-- | sleekxmpp/stanza/__init__.py | 1 | ||||
-rw-r--r-- | sleekxmpp/stanza/session.py | 2 |
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' |