From c1defc005da809bde74e539c28818fad63585d81 Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 2 Jul 2018 08:54:57 +0200 Subject: [PATCH] quick_frontend (chat): create target in cache if it is not found, avoiding an exception --- sat_frontends/quick_frontend/quick_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_frontends/quick_frontend/quick_chat.py b/sat_frontends/quick_frontend/quick_chat.py index 38355c6b..fb67abb8 100644 --- a/sat_frontends/quick_frontend/quick_chat.py +++ b/sat_frontends/quick_frontend/quick_chat.py @@ -500,7 +500,7 @@ class QuickChat(quick_widgets.QuickWidget): if self.type == C.CHAT_ONE2ONE: special = self.host.contact_lists[self.profile].getCache( - self.target, C.CONTACT_SPECIAL + self.target, C.CONTACT_SPECIAL, create_if_not_found=True ) if special == C.CONTACT_SPECIAL_GROUP: # we have a private conversation