From bc847f144535405a04c3d79b2791cef50cfe8126 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sat, 27 Nov 2021 15:35:13 +0100 Subject: [PATCH] Fix IRC server messages not triggering sounds properly (#3368) --- CHANGELOG.md | 1 + src/providers/irc/IrcServer.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbaf61d04..8a0983147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,7 @@ - Bugfix: Fixed splits losing filters when closing and reopening them (#3351) - Bugfix: Fixed the first usercard being broken in `/mods` and `/vips` (#3349) - Bugfix: Fixed Chatterino attempting to send empty messages (#3355) +- Bugfix: Fixed IRC highlights not triggering sounds or alerts properly. (#3368) - Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327) - Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103) - Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038) diff --git a/src/providers/irc/IrcServer.cpp b/src/providers/irc/IrcServer.cpp index 70227d6ce..d75f79216 100644 --- a/src/providers/irc/IrcServer.cpp +++ b/src/providers/irc/IrcServer.cpp @@ -187,8 +187,8 @@ void IrcServer::privateMessageReceived(Communi::IrcPrivateMessage *message) if (!builder.isIgnored()) { - builder.triggerHighlights(); channel->addMessage(builder.build()); + builder.triggerHighlights(); } else {