diff options
author | Lance Stout <lancestout@gmail.com> | 2011-01-13 10:21:20 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-01-13 10:21:20 -0500 |
commit | 632827f213235ab33f08dc133cf50b2c9287cfd0 (patch) | |
tree | 1c581ed5fa22501692f9492095aa7d46f9ff42da | |
parent | b71550cec7c85ceb4126daddbc39ed0d0e93b8d5 (diff) | |
download | slixmpp-632827f213235ab33f08dc133cf50b2c9287cfd0.tar.gz slixmpp-632827f213235ab33f08dc133cf50b2c9287cfd0.tar.bz2 slixmpp-632827f213235ab33f08dc133cf50b2c9287cfd0.tar.xz slixmpp-632827f213235ab33f08dc133cf50b2c9287cfd0.zip |
Fix bug in JID class. Attribute .jid now works properly.
-rw-r--r-- | sleekxmpp/xmlstream/jid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/jid.py b/sleekxmpp/xmlstream/jid.py index e5c49dc0..5019a25e 100644 --- a/sleekxmpp/xmlstream/jid.py +++ b/sleekxmpp/xmlstream/jid.py @@ -71,7 +71,7 @@ class JID(object): if self._domain is None: self._domain = self._jid.split('@', 1)[-1].split('/', 1)[0] return self._domain or "" - elif name == 'full': + elif name in ('full', 'jid'): return self._jid or "" elif name == 'bare': if self._bare is None: |