mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Add more ignored channels for context menu twitch links (#3352)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
a68980878e
commit
c19fd0d332
|
@ -1934,8 +1934,21 @@ void ChannelView::addContextMenuItems(
|
||||||
R"(^(?:https?:\/\/)?(?:www\.|go\.)?twitch\.tv\/(?:popout\/)?(?<username>[a-z0-9_]{3,}))",
|
R"(^(?:https?:\/\/)?(?:www\.|go\.)?twitch\.tv\/(?:popout\/)?(?<username>[a-z0-9_]{3,}))",
|
||||||
QRegularExpression::CaseInsensitiveOption);
|
QRegularExpression::CaseInsensitiveOption);
|
||||||
static QSet<QString> ignoredUsernames{
|
static QSet<QString> ignoredUsernames{
|
||||||
"videos", "settings", "directory", "jobs", "friends",
|
"directory", //
|
||||||
"inventory", "payments", "subscriptions", "messages", "drops",
|
"downloads", //
|
||||||
|
"drops", //
|
||||||
|
"friends", //
|
||||||
|
"inventory", //
|
||||||
|
"jobs", //
|
||||||
|
"messages", //
|
||||||
|
"payments", //
|
||||||
|
"profile", //
|
||||||
|
"security", //
|
||||||
|
"settings", //
|
||||||
|
"subscriptions", //
|
||||||
|
"turbo", //
|
||||||
|
"videos", //
|
||||||
|
"wallet", //
|
||||||
};
|
};
|
||||||
|
|
||||||
auto twitchMatch =
|
auto twitchMatch =
|
||||||
|
|
Loading…
Reference in a new issue