quick_frontend, primitivus (chat): fixed widget bad locking + don't send notification when locked
This commit is contained in:
parent
9456417949
commit
9f853cd774
1 changed files with 6 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ class QuickChat(quick_widgets.QuickWidget):
|
|||
"""
|
||||
self.lang = '' # default language to use for messages
|
||||
quick_widgets.QuickWidget.__init__(self, host, target, profiles=profiles)
|
||||
self._locked = False # True when we are waiting for history/search
|
||||
self._locked = True # True when we are waiting for history/search
|
||||
# messageNew signals are cached when locked
|
||||
self._cache = []
|
||||
assert type_ in (C.CHAT_ONE2ONE, C.CHAT_GROUP)
|
||||
|
|
|
|||
Loading…
Reference in a new issue