correctly handle resources when chat window get focus. Fixes #1785

This commit is contained in:
Yann Leboulanger 2006-04-07 23:29:07 +00:00
parent e9bd817680
commit c73abbab57
2 changed files with 2 additions and 2 deletions

View File

@ -531,7 +531,7 @@ class ChatControlBase(MessageControl):
self.parent_win.redraw_tab(self)
self.parent_win.show_title()
if gajim.interface.systray_enabled:
gajim.interface.systray.remove_jid(jid,
gajim.interface.systray.remove_jid(self.get_full_jid(),
self.account,
self.type_id)
self.msg_textview.grab_focus()

View File

@ -260,7 +260,7 @@ class MessageWindow:
# Update external state
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)
del gajim.last_message_time[ctrl.account][ctrl.get_full_jid()]