Mercurial > libervia-web
diff src/browser/sat_browser/contact_list.py @ 693:1d60fa4d25a4
browser_side: fixes new message alerts
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 16 Apr 2015 13:29:26 +0200 |
parents | 6fc3ff3936ba |
children | c2f22ca12e23 |
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_list.py Thu Apr 09 11:37:25 2015 +0200 +++ b/src/browser/sat_browser/contact_list.py Thu Apr 16 13:29:26 2015 +0200 @@ -128,6 +128,7 @@ def on_click(contact_jid): self.host.displayWidget(chat.Chat, contact_jid, type_=C.CHAT_ONE2ONE) + self.removeAlert(contact_jid, True) self._contacts_panel = contact_panel.ContactsPanel(host, contacts_click=on_click, contacts_menus=(C.MENU_JID_CONTEXT, C.MENU_ROSTER_JID_CONTEXT)) self._contacts_panel.setStyleName('contactPanel') # FIXME: style doesn't exists !