diff --git a/CHANGELOG.md b/CHANGELOG.md index 71488416e..d10d3ddde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ - Minor: Add clear cache button to cache settings section (#3277) - Minor: Added `flags.first_message` filter variable (#3292) - Minor: Removed duplicate setting for toggling `Channel Point Redeemed Message` highlights (#3296) +- Minor: Added support for opening channels from twitch.tv/popout links. (#3309) - Minor: Clean up chat messages of special line characters prior to sending. (#3312) - Minor: Added button & label for copying login name of user instead of display name in the user info popout. (#3335) - Bugfix: Fixed colored usernames sometimes not working. (#3170) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index e1e8c9978..82f166e29 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -1931,7 +1931,7 @@ void ChannelView::addContextMenuItems( if (hoveredElement->getLink().type == Link::Url) { static QRegularExpression twitchChannelRegex( - R"(^(?:https?:\/\/)?(?:www\.|go\.)?twitch\.tv\/(?[a-z0-9_]{3,}))", + R"(^(?:https?:\/\/)?(?:www\.|go\.)?twitch\.tv\/(?:popout\/)?(?[a-z0-9_]{3,}))", QRegularExpression::CaseInsensitiveOption); static QSet ignoredUsernames{ "videos", "settings", "directory", "jobs", "friends",