set urgency_hint when notify_on_all_muc_messages is True. Fixes #8110

This commit is contained in:
Yann Leboulanger 2015-07-26 14:25:21 +02:00
parent f74c83535f
commit d65882dea5
1 changed files with 2 additions and 1 deletions

View File

@ -502,7 +502,8 @@ class MessageWindow(object):
if control.type_id == message_control.TYPE_GC:
name = control.room_jid.split('@')[0]
urgent = control.attention_flag
urgent = control.attention_flag or \
gajim.config.get('notify_on_all_muc_messages')
else:
name = control.contact.get_shown_name()
if control.resource: