Commit 9f417b73 authored by jimpp's avatar jimpp

syntax

parent 6261b648
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment