Skip to content
Snippets Groups Projects
Commit 87a2ff3d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

show by default all events in roster

parent 1a2bea66
No related branches found
No related tags found
No related merge requests found
......@@ -42,11 +42,9 @@ def get_show_in_roster(event, account, contact):
return False
if event == 'message_received':
chat_control = helpers.get_chat_control(account, contact)
if not chat_control:
return True
elif event == 'ft_request':
return True
return False
if chat_control:
return False
return True
def get_show_in_systray(event, account, contact):
'''Return True if this event must be shown in roster, else False'''
......@@ -56,10 +54,7 @@ def get_show_in_systray(event, account, contact):
return True
if gajim.config.get_per('notifications', str(num), 'systray') == 'no':
return False
if event in ('message_received', 'ft_request', 'gc_msg_highlight',
'ft_request'):
return True
return False
return True
def get_advanced_notification(event, account, contact):
'''Returns the number of the first advanced notification or None'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment