Skip to content
Snippets Groups Projects
Commit db3ddc71 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent TB when reading pending events. Fixes #4035

parent 7b5a692c
No related branches found
No related tags found
No related merge requests found
......@@ -2117,6 +2117,8 @@ class Interface:
event = gajim.events.get_first_event(account, fjid, type_)
if not event:
event = gajim.events.get_first_event(account, jid, type_)
if not event:
return
if type_ == 'printed_chat':
ctrl = event.parameters[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment