about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-10 15:16:34 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-10 15:16:34 +0200
commit95ab7ee062b9fbeea73b90f69c6fef3325f880c9 (patch)
tree7caea5336c4aa47b9b6b71d5c8102d7804c008cb /src/command/cmd_defs.c
parent10d771f3d1994cc450e96f25d45a3bbf297fb48f (diff)
downloadprofani-tty-95ab7ee062b9fbeea73b90f69c6fef3325f880c9.tar.gz
Setting: only write in console upon muc mention
`/console muc mention` additionally to `first|none|all`.

Fix https://github.com/profanity-im/profanity/issues/1371
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 04adb92d..787de7cd 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -1141,7 +1141,7 @@ static struct cmd_t command_defs[] = {
                   CMD_TAG_GROUPCHAT)
                   CMD_SYN(
                       "/console chat all|first|none",
-                      "/console muc all|first|none",
+                      "/console muc all|first|mention|none",
                       "/console private all|first|none")
                       CMD_DESC(
                           "Configure what is displayed in the console window when messages are received. "
@@ -1152,6 +1152,7 @@ static struct cmd_t command_defs[] = {
                               { "chat none", "Do not show any new chat messages in the console window." },
                               { "muc all", "Indicate all new chat room messages in the console." },
                               { "muc first", "Indicate only the first new message in each room in the console." },
+                              { "muc mention", "Indicate only messages in which you have beeen mentioned in the console." },
                               { "muc none", "Do not show any new chat room messages in the console window." },
                               { "private all", "Indicate all new private room messages in the console." },
                               { "private first", "Indicate only the first private room message in the console." },