# HG changeset patch # User Goffi # Date 1530514497 -7200 # Node ID 96911768b0f3cbfe7f9880682c84430692246ec0 # Parent a381186e2398ba877d963d541094c4adace6d43b quick_frontend (chat): create target in cache if it is not found, avoiding an exception diff -r a381186e2398 -r 96911768b0f3 sat_frontends/quick_frontend/quick_chat.py --- a/sat_frontends/quick_frontend/quick_chat.py Mon Jul 02 08:53:29 2018 +0200 +++ b/sat_frontends/quick_frontend/quick_chat.py Mon Jul 02 08:54:57 2018 +0200 @@ -500,7 +500,7 @@ 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