From 42a7dbc79ac4303fc7c32233c0752f56ab9197a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 1 Sep 2018 12:44:14 +0200 Subject: [PATCH] Fix contact not beeing found after room destroy --- gajim/common/contacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/contacts.py b/gajim/common/contacts.py index ab3bbddaf..9d2295745 100644 --- a/gajim/common/contacts.py +++ b/gajim/common/contacts.py @@ -469,7 +469,7 @@ class Contacts(): self._contacts = {} def add_contact(self, contact): - if contact.jid not in self._contacts: + if contact.jid not in self._contacts or contact.is_groupchat(): self._contacts[contact.jid] = [contact] return contacts = self._contacts[contact.jid]