We NEVER want to count gc_messages in roster title. Good catch hawke

This commit is contained in:
Jean-Marie Traissard 2006-11-07 23:36:48 +00:00
parent 7c433c7c85
commit 943338b00b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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: