1
0
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:
Sébastien Helleu
2020-07-20 21:08:59 +02:00
parent 2b16036f08
commit e0e905ca7f
3 changed files with 20 additions and 1 deletions
+4 -1
View File
@@ -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",