mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Fix bug in JID class. Attribute .jid now works properly.
This commit is contained in:
parent
b71550cec7
commit
632827f213
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue