Fix a small bug with events and groupchats
This commit is contained in:
parent
38d2b822f8
commit
30ac161ee9
|
@ -28,7 +28,7 @@ class Event:
|
||||||
show_in_systray = True):
|
show_in_systray = True):
|
||||||
''' type_ in chat, normal, file-request, file-error, file-completed,
|
''' type_ in chat, normal, file-request, file-error, file-completed,
|
||||||
file-request-error, file-send-error, file-stopped, gc_msg, pm,
|
file-request-error, file-send-error, file-stopped, gc_msg, pm,
|
||||||
printed_chat, printed_gc_msg, printed_pm
|
printed_chat, printed_gc_msg, printed_marked_gc_msg, printed_pm
|
||||||
parameters is (per type_):
|
parameters is (per type_):
|
||||||
chat, normal: [message, subject, kind, time, encrypted, resource,
|
chat, normal: [message, subject, kind, time, encrypted, resource,
|
||||||
msg_id]
|
msg_id]
|
||||||
|
|
|
@ -873,7 +873,7 @@ def get_notification_icon_tooltip_text():
|
||||||
'chat'])
|
'chat'])
|
||||||
unread_single_chat = gajim.events.get_nb_events(types = ['normal'])
|
unread_single_chat = gajim.events.get_nb_events(types = ['normal'])
|
||||||
unread_gc = gajim.events.get_nb_events(types = ['printed_gc_msg',
|
unread_gc = gajim.events.get_nb_events(types = ['printed_gc_msg',
|
||||||
'gc_msg'])
|
'printed_marked_gc_msg', 'gc_msg'])
|
||||||
unread_pm = gajim.events.get_nb_events(types = ['printed_pm', 'pm'])
|
unread_pm = gajim.events.get_nb_events(types = ['printed_pm', 'pm'])
|
||||||
|
|
||||||
accounts = get_accounts_info()
|
accounts = get_accounts_info()
|
||||||
|
|
Loading…
Reference in New Issue