correctly handle resources when chat window get focus. Fixes #1785
This commit is contained in:
parent
e9bd817680
commit
c73abbab57
2 changed files with 2 additions and 2 deletions
|
@ -531,7 +531,7 @@ class ChatControlBase(MessageControl):
|
||||||
self.parent_win.redraw_tab(self)
|
self.parent_win.redraw_tab(self)
|
||||||
self.parent_win.show_title()
|
self.parent_win.show_title()
|
||||||
if gajim.interface.systray_enabled:
|
if gajim.interface.systray_enabled:
|
||||||
gajim.interface.systray.remove_jid(jid,
|
gajim.interface.systray.remove_jid(self.get_full_jid(),
|
||||||
self.account,
|
self.account,
|
||||||
self.type_id)
|
self.type_id)
|
||||||
self.msg_textview.grab_focus()
|
self.msg_textview.grab_focus()
|
||||||
|
|
|
@ -260,7 +260,7 @@ class MessageWindow:
|
||||||
|
|
||||||
# Update external state
|
# Update external state
|
||||||
if gajim.interface.systray_enabled:
|
if gajim.interface.systray_enabled:
|
||||||
gajim.interface.systray.remove_jid(ctrl.contact.jid, ctrl.account,
|
gajim.interface.systray.remove_jid(ctrl.get_full_jid(), ctrl.account,
|
||||||
ctrl.type_id)
|
ctrl.type_id)
|
||||||
del gajim.last_message_time[ctrl.account][ctrl.get_full_jid()]
|
del gajim.last_message_time[ctrl.account][ctrl.get_full_jid()]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue