handle correctly click on old popup notification when receiving message
This commit is contained in:
parent
247f4547b6
commit
9b0f9c9295
|
@ -990,10 +990,7 @@ class PopupNotificationWindow:
|
||||||
gajim.interface.roster.open_event(self.account, self.jid, ev)
|
gajim.interface.roster.open_event(self.account, self.jid, ev)
|
||||||
else: # chat or pm
|
else: # chat or pm
|
||||||
assert(self.msg_type == 'chat' or self.msg_type == 'pm')
|
assert(self.msg_type == 'chat' or self.msg_type == 'pm')
|
||||||
gajim.interface.roster.new_chat(contact, self.account)
|
gajim.interface.handle_event(self.account, contact.jid, self.msg_type)
|
||||||
msg_window = gajim.interface.msg_win_mgr.get_window(self.jid)
|
|
||||||
msg_window.set_active_tab(self.jid)
|
|
||||||
msg_window.window.present()
|
|
||||||
|
|
||||||
self.adjust_height_and_move_popup_notification_windows()
|
self.adjust_height_and_move_popup_notification_windows()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue