first popuped message is a new message
This commit is contained in:
parent
164973ff82
commit
004cb9c5d3
|
@ -840,7 +840,7 @@ class Chat:
|
||||||
urgent = True
|
urgent = True
|
||||||
if (jid != self.get_active_jid() or \
|
if (jid != self.get_active_jid() or \
|
||||||
not self.window.is_active() or \
|
not self.window.is_active() or \
|
||||||
not end) and kind == 'incoming':
|
not end) and kind in ('incoming', 'incoming_queue'):
|
||||||
if self.widget_name == 'groupchat_window':
|
if self.widget_name == 'groupchat_window':
|
||||||
if text.find(self.nicks[jid]) == -1:
|
if text.find(self.nicks[jid]) == -1:
|
||||||
# Do not notify us for gc messages that are not for us
|
# Do not notify us for gc messages that are not for us
|
||||||
|
|
|
@ -846,7 +846,7 @@ class TabbedChatWindow(chat.Chat):
|
||||||
typ = 'pm'
|
typ = 'pm'
|
||||||
|
|
||||||
gajim.interface.roster.draw_contact(jid, self.account)
|
gajim.interface.roster.draw_contact(jid, self.account)
|
||||||
if gajim.interface.systray_enabled:
|
if jid == self.get_active_jid() and gajim.interface.systray_enabled:
|
||||||
gajim.interface.systray.remove_jid(jid, self.account, typ)
|
gajim.interface.systray.remove_jid(jid, self.account, typ)
|
||||||
showOffline = gajim.config.get('showoffline')
|
showOffline = gajim.config.get('showoffline')
|
||||||
if (contact.show == 'offline' or contact.show == 'error') and \
|
if (contact.show == 'offline' or contact.show == 'error') and \
|
||||||
|
|
Loading…
Reference in New Issue