Skip to content

Commit

Permalink
disable attention calls from system messages
Browse files Browse the repository at this point in the history
  • Loading branch information
TicClick committed Oct 21, 2024
1 parent 68ea1b6 commit 6799555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl UIState {
message.detect_highlights(self.highlights.keywords(), current_username);

let contains_highlight = message.highlight;
let requires_attention = contains_highlight || !normalized.is_channel();
let requires_attention = !is_system_message && (contains_highlight || !normalized.is_channel());

if contains_highlight {
self.highlights.add(&normalized, &message);
Expand Down

0 comments on commit 6799555

Please sign in to comment.