From 9f417b7396419a7204ecb029c5d0091f156a57c4 Mon Sep 17 00:00:00 2001
From: Jean-Marie Traissard <jim@lapin.org>
Date: Tue, 10 Oct 2006 16:34:09 +0000
Subject: [PATCH] syntax

---
 src/common/contacts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/contacts.py b/src/common/contacts.py
index af1f5823f4..2c136aeb0c 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
 				
-- 
GitLab