Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Marie Traissard <jim@lapin.org>2006-10-10 20:34:09 +0400
committerJean-Marie Traissard <jim@lapin.org>2006-10-10 20:34:09 +0400
commit9f417b7396419a7204ecb029c5d0091f156a57c4 (patch)
tree40b082e62cfc8f6bc2bdf802c8a0cea9a87c70f4 /src
parent6261b64875051fca1f85229653bd6c92332b22cc (diff)
syntax
Diffstat (limited to 'src')
-rw-r--r--src/common/contacts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/contacts.py b/src/common/contacts.py
index af1f5823f..2c136aeb0 100644
--- a/src/common/contacts.py
+++ b/src/common/contacts.py
@@ -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