quick_frontend (chat): create target in cache if it is not found, avoiding an exception
This commit is contained in:
parent
8c1b3ed451
commit
c1defc005d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue