From dadc85bb522544c35d445c811d1e79036fd63cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Thu, 19 Apr 2018 22:22:04 +0200 Subject: [PATCH] Fix tests --- gajim/common/contacts.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gajim/common/contacts.py b/gajim/common/contacts.py index e3ed7458a..a04348a48 100644 --- a/gajim/common/contacts.py +++ b/gajim/common/contacts.py @@ -29,7 +29,6 @@ ## try: - from gajim.common import app from gajim.common import caps_cache from gajim.common.account import Account from gajim import common @@ -523,9 +522,6 @@ class Contacts(): def get_groupchat_contact(self, jid): if jid in self._contacts: contacts = self._contacts[jid] - if len(contacts) > 1: - app.log('contacts').warning( - 'Groupchat Contact found more than once') if contacts[0].is_groupchat(): return contacts[0]