when we click on a popup window, event is maybe already shown. prevent this TB. Fixes #1644
This commit is contained in:
parent
60656d9cc2
commit
7934380cb2
|
@ -1028,6 +1028,7 @@ class PopupNotificationWindow:
|
|||
'file-send-error', 'file-error', 'file-stopped', 'file-completed'):
|
||||
# Get the first single message event
|
||||
ev = gajim.get_first_event(self.account, self.jid, self.msg_type)
|
||||
if ev:
|
||||
gajim.interface.roster.open_event(self.account, self.jid, ev)
|
||||
else: # chat or pm
|
||||
gajim.interface.handle_event(self.account, contact.jid, self.msg_type)
|
||||
|
|
Loading…
Reference in New Issue