Commit 8de2c2c6 authored by Yann Leboulanger's avatar Yann Leboulanger

prevent traceback. Fixes #7572

parent 9c645c2c
......@@ -1688,6 +1688,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_pm':
ctrl = event.parameters[2]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment