prevent TB when we click on a popup notification of an already handled event

This commit is contained in:
Yann Leboulanger 2007-06-03 13:42:51 +00:00
parent 52c6c6cbb7
commit 75eb345ff9
1 changed files with 2 additions and 0 deletions

View File

@ -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: