diff --git a/CHANGELOG.md b/CHANGELOG.md index e243c73e7..f786fe8e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Minor: Added regex option to Nicknames. (#3146) - Minor: Added `/raw` command. (#3189) - Minor: Colorizing usernames on IRC, originally made for Mm2PL/dankerino (#3206) +- Minor: Strip leading @ and trailing , from username in `/popout` command. (#3217) - 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/controllers/commands/CommandController.cpp b/src/controllers/commands/CommandController.cpp index 14090f58d..3cd5da09f 100644 --- a/src/controllers/commands/CommandController.cpp +++ b/src/controllers/commands/CommandController.cpp @@ -652,6 +652,7 @@ void CommandController::initialize(Settings &, Paths &paths) return ""; } + stripChannelName(target); QDesktopServices::openUrl( QUrl(QString("https://www.twitch.tv/popout/%1/chat?popout=") .arg(target)));