Skip to content
Snippets Groups Projects
Commit 9f417b73 authored by jimpp's avatar jimpp
Browse files

syntax

parent 6261b648
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ class Contact:
def is_observer(self):
# XEP-0162: http://www.xmpp.org/extensions/xep-0162.html
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
return is_observer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment