prevent traceback. Fixes #7572
This commit is contained in:
parent
5095bc6598
commit
a7a8354402
1 changed files with 2 additions and 0 deletions
|
@ -1688,6 +1688,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_pm':
|
if type_ == 'printed_pm':
|
||||||
ctrl = event.parameters[2]
|
ctrl = event.parameters[2]
|
||||||
|
|
Loading…
Add table
Reference in a new issue