From 632827f213235ab33f08dc133cf50b2c9287cfd0 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 13 Jan 2011 10:21:20 -0500 Subject: Fix bug in JID class. Attribute .jid now works properly. --- sleekxmpp/xmlstream/jid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3