diff --git a/CHANGELOG.md b/CHANGELOG.md index f417f7ba..b2c7e3b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ - Minor: The follow and sub dates now show the duration in a tooltip. (#6384) - Minor: Usercards now show a live indicator if the user is currently streaming. (#6383) - Minor: Consolidate twitch.tv URLs to start with www (#6407) +- Bugfix: Fixed duplicate message sending for single-worded messages. (#6417) - Bugfix: Commands are no longer tab-completable in the middle of messages. (#6273) - Bugfix: Automatic streamer mode detection now works from Flatpak. (#6250) - Bugfix: Don't create native messaging manifest file if browser directory doesn't exist. (#6116) diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index 8d507d2a..31f71dab 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -79,11 +79,7 @@ bool isUnknownCommand(const QString &text) using detail::isUnknownCommand; namespace { -#if QT_VERSION < QT_VERSION_CHECK(6, 1, 0) -const QString MAGIC_MESSAGE_SUFFIX = QString((const char *)u8" \U000E0000"); -#else -const QString MAGIC_MESSAGE_SUFFIX = QString::fromUtf8(u8" \U000E0000"); -#endif +const QString MAGIC_MESSAGE_SUFFIX = u" \u034f"_s; constexpr int CLIP_CREATION_COOLDOWN = 5000; const QString CLIPS_LINK("https://clips.twitch.tv/%1"); const QString CLIPS_FAILURE_CLIPS_UNAVAILABLE_TEXT(