We NEVER want to count gc_messages in roster title. Good catch hawke
This commit is contained in:
parent
7c433c7c85
commit
943338b00b
|
@ -562,7 +562,7 @@ class Interface:
|
|||
contact.msg_id = msg_id
|
||||
|
||||
# THIS MUST BE AFTER chatstates handling
|
||||
# AND BEFORE playsound (else we here sounding on chatstates!)
|
||||
# AND BEFORE playsound (else we ear sounding on chatstates!)
|
||||
if not message: # empty message text
|
||||
return
|
||||
|
||||
|
|
|
@ -3961,8 +3961,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
|||
start = ''
|
||||
nb_unread = gajim.events.get_nb_events(['chat', 'normal',
|
||||
'file-request', 'file-error', 'file-completed',
|
||||
'file-request-error', 'file-send-error', 'file-stopped', 'gc_msg',
|
||||
'printed_chat', 'printed_gc_msg'])
|
||||
'file-request-error', 'file-send-error', 'file-stopped',
|
||||
'printed_chat'])
|
||||
if nb_unread > 1:
|
||||
start = '[' + str(nb_unread) + '] '
|
||||
elif nb_unread == 1:
|
||||
|
|
Loading…
Reference in New Issue