mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 06:56:22 +00:00
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
This commit is contained in:
@@ -344,6 +344,11 @@ cons_show_incoming_room_message(const char* const nick, const char* const room,
|
||||
win_println(console, THEME_INCOMING, "-", "<< room message: %s (win %d)", room, ui_index);
|
||||
cons_alert(window);
|
||||
}
|
||||
} else if (g_strcmp0(muc_show, "mention") == 0) {
|
||||
if (mention) {
|
||||
win_println(console, THEME_MENTION, "-", "<< room mention: %s in %s (win %d)", nick, room, ui_index);
|
||||
cons_alert(window);
|
||||
}
|
||||
}
|
||||
g_free(muc_show);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user