set urgency_hint when notify_on_all_muc_messages is True. Fixes #8110
This commit is contained in:
parent
f74c83535f
commit
d65882dea5
1 changed files with 2 additions and 1 deletions
|
@ -502,7 +502,8 @@ class MessageWindow(object):
|
||||||
|
|
||||||
if control.type_id == message_control.TYPE_GC:
|
if control.type_id == message_control.TYPE_GC:
|
||||||
name = control.room_jid.split('@')[0]
|
name = control.room_jid.split('@')[0]
|
||||||
urgent = control.attention_flag
|
urgent = control.attention_flag or \
|
||||||
|
gajim.config.get('notify_on_all_muc_messages')
|
||||||
else:
|
else:
|
||||||
name = control.contact.get_shown_name()
|
name = control.contact.get_shown_name()
|
||||||
if control.resource:
|
if control.resource:
|
||||||
|
|
Loading…
Add table
Reference in a new issue