feat: classify lead mod badge as channel authority (#6665)
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
- Minor: Added broadcaster-only `/prediction`, `/cancelprediction`, `/lockprediction`, and `/completeprediction` commands. (#6583, #6612, #6632)
|
||||
- Minor: Added support for BetterTTV Pro subscriber badges. (#6625)
|
||||
- Bugfix: Moderation checks now include the lead moderator badge. (#6642)
|
||||
- Bugfix: Fixed lead moderator badges not being filtered by the `Channel` badge setting. (#6665)
|
||||
- Bugfix: Expose the "Extra extension IDs" setting on non-Windows systems too. (#6509)
|
||||
- Bugfix: Fixed some commands and filters not working as expected in seach popups. (#6539)
|
||||
- Bugfix: Fixed settings occasionally not opening when clicking on "Manage Accounts" in the account switcher. (#6543)
|
||||
|
||||
@@ -72,6 +72,7 @@ enum class MessageElementFlag : int64_t {
|
||||
// Slot 3: Twitch
|
||||
// - VIP badge
|
||||
// - Moderator badge
|
||||
// - Lead Moderator badge
|
||||
// - Broadcaster badge
|
||||
BadgeChannelAuthority = (1LL << 15),
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@ namespace chatterino {
|
||||
// vanity flag is left out on purpose as it is our default flag
|
||||
const QSet<QString> globalAuthority{"staff", "admin", "global_mod"};
|
||||
const QSet<QString> predictions{"predictions"};
|
||||
const QSet<QString> channelAuthority{"moderator", "vip", "broadcaster"};
|
||||
const QSet<QString> channelAuthority{"lead_moderator", "moderator", "vip",
|
||||
"broadcaster"};
|
||||
const QSet<QString> subBadges{"subscriber", "founder"};
|
||||
|
||||
Badge::Badge(QString key, QString value)
|
||||
|
||||
Reference in New Issue
Block a user