mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 02:03:13 +02:00
trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529)
This commit is contained in:
@@ -54,6 +54,8 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
|
||||
* beep on highlight/private message, on following conditions:
|
||||
* - message is displayed (not filtered)
|
||||
* AND:
|
||||
* - message does not have tag "notify_none"
|
||||
* AND:
|
||||
* - message is a highlight
|
||||
* OR:
|
||||
* - message is a message in a private buffer
|
||||
@@ -61,7 +63,8 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
|
||||
{ "beep", "on",
|
||||
"print",
|
||||
"",
|
||||
"${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})",
|
||||
"${tg_displayed} && ${tg_tags} !!- ,notify_none, "
|
||||
"&& (${tg_highlight} || ${tg_msg_pv})",
|
||||
"",
|
||||
"/print -beep",
|
||||
"ok",
|
||||
|
||||
Reference in New Issue
Block a user