This commit is contained in:
Jean-Marie Traissard 2006-10-10 16:34:09 +00:00
parent 6261b64875
commit 9f417b7396
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Contact:
def is_observer(self): def is_observer(self):
# XEP-0162: http://www.xmpp.org/extensions/xep-0162.html # XEP-0162: http://www.xmpp.org/extensions/xep-0162.html
is_observer = False is_observer = False
if is_hidden_in_roster() and if contact.sub == 'from': if is_hidden_in_roster() and contact.sub == 'from':
is_observer = True is_observer = True
return is_observer return is_observer