prevent TB when we click on a popup notification of an already handled event
This commit is contained in:
parent
52c6c6cbb7
commit
75eb345ff9
|
@ -2180,6 +2180,8 @@ class Interface:
|
||||||
if not event:
|
if not event:
|
||||||
# default to jid without resource
|
# default to jid without resource
|
||||||
event = gajim.events.get_first_event(account, jid, type_)
|
event = gajim.events.get_first_event(account, jid, type_)
|
||||||
|
if not event:
|
||||||
|
return
|
||||||
# Open the window
|
# Open the window
|
||||||
self.roster.open_event(account, jid, event)
|
self.roster.open_event(account, jid, event)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue