diff --git a/CHANGELOG.md b/CHANGELOG.md index 91d1ff587..e9f4b0e02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Minor: Ignore out of bounds check for tiling wms (#3270) - Minor: Added `flags.first_message` filter variable (#3292) - Minor: Removed duplicate setting for toggling `Channel Point Redeemed Message` highlights (#3296) +- Minor: Clean up chat messages of special line characters prior to sending. (#3312) - Bugfix: Fixed colored usernames sometimes not working. (#3170) - Bugfix: Restored ability to send duplicate `/me` messages. (#3166) - Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121) diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index 3080a61e1..21f656694 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -363,7 +363,7 @@ void TwitchChannel::sendMessage(const QString &message) // Do last message processing QString parsedMessage = app->emotes->emojis.replaceShortCodes(message); - parsedMessage = parsedMessage.trimmed(); + parsedMessage = parsedMessage.simplified(); if (parsedMessage.isEmpty()) {