Strip leading @ and trailing , from username in /popout command (#3217)

* popout command could use some love too

* changelog

* forward slash is sorry for force push

* copied the old changelog too literally that I misplaced it

* apparently i didn't save the changelog change
This commit is contained in:
Felanbird 2021-09-04 08:04:21 -04:00 committed by GitHub
parent d99fafaa99
commit 44f1013eb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@
- Minor: Added regex option to Nicknames. (#3146) - Minor: Added regex option to Nicknames. (#3146)
- Minor: Added `/raw` command. (#3189) - Minor: Added `/raw` command. (#3189)
- Minor: Colorizing usernames on IRC, originally made for Mm2PL/dankerino (#3206) - 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: Fixed colored usernames sometimes not working. (#3170)
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166) - Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121) - Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)

View file

@ -652,6 +652,7 @@ void CommandController::initialize(Settings &, Paths &paths)
return ""; return "";
} }
stripChannelName(target);
QDesktopServices::openUrl( QDesktopServices::openUrl(
QUrl(QString("https://www.twitch.tv/popout/%1/chat?popout=") QUrl(QString("https://www.twitch.tv/popout/%1/chat?popout=")
.arg(target))); .arg(target)));