Fix tests

This commit is contained in:
Philipp Hörist 2018-04-19 22:22:04 +02:00
parent 290e761f88
commit dadc85bb52
1 changed files with 0 additions and 4 deletions

View File

@ -29,7 +29,6 @@
## ##
try: try:
from gajim.common import app
from gajim.common import caps_cache from gajim.common import caps_cache
from gajim.common.account import Account from gajim.common.account import Account
from gajim import common from gajim import common
@ -523,9 +522,6 @@ class Contacts():
def get_groupchat_contact(self, jid): def get_groupchat_contact(self, jid):
if jid in self._contacts: if jid in self._contacts:
contacts = self._contacts[jid] contacts = self._contacts[jid]
if len(contacts) > 1:
app.log('contacts').warning(
'Groupchat Contact found more than once')
if contacts[0].is_groupchat(): if contacts[0].is_groupchat():
return contacts[0] return contacts[0]