prevent TB when reading pending events. Fixes #4035
This commit is contained in:
parent
7b5a692c3c
commit
db3ddc71ff
|
@ -2117,6 +2117,8 @@ class Interface:
|
||||||
event = gajim.events.get_first_event(account, fjid, type_)
|
event = gajim.events.get_first_event(account, fjid, type_)
|
||||||
if not event:
|
if not event:
|
||||||
event = gajim.events.get_first_event(account, jid, type_)
|
event = gajim.events.get_first_event(account, jid, type_)
|
||||||
|
if not event:
|
||||||
|
return
|
||||||
|
|
||||||
if type_ == 'printed_chat':
|
if type_ == 'printed_chat':
|
||||||
ctrl = event.parameters[0]
|
ctrl = event.parameters[0]
|
||||||
|
|
Loading…
Reference in New Issue