Mercurial > libervia-backend
diff sat_frontends/quick_frontend/quick_chat.py @ 2632:96911768b0f3
quick_frontend (chat): create target in cache if it is not found, avoiding an exception
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 02 Jul 2018 08:54:57 +0200 |
parents | 56f94936df1e |
children | e35a265ec174 |
line wrap: on
line diff
--- 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