diff --git a/CHANGELOG.md b/CHANGELOG.md index 63a806c75..b17c9601a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -119,6 +119,7 @@ - Dev: Refactored IRC message building. (#5663) - Dev: Fixed some compiler warnings. (#5672) - Dev: Unified parsing of historic and live IRC messages. (#5678) +- Dev: 7TV's `entitlement.reset` is now explicitly ignored. (#5685) ## 2.5.1 diff --git a/src/providers/seventv/SeventvEventAPI.cpp b/src/providers/seventv/SeventvEventAPI.cpp index fcb99ce12..0a7797eb7 100644 --- a/src/providers/seventv/SeventvEventAPI.cpp +++ b/src/providers/seventv/SeventvEventAPI.cpp @@ -233,6 +233,10 @@ void SeventvEventAPI::handleDispatch(const Dispatch &dispatch) } } break; + case SubscriptionType::ResetEntitlement: { + // unhandled (not clear what we'd do here yet) + } + break; default: { qCDebug(chatterinoSeventvEventAPI) << "Unknown subscription type:" diff --git a/src/providers/seventv/eventapi/Subscription.hpp b/src/providers/seventv/eventapi/Subscription.hpp index 65cf03544..c6767b139 100644 --- a/src/providers/seventv/eventapi/Subscription.hpp +++ b/src/providers/seventv/eventapi/Subscription.hpp @@ -27,6 +27,7 @@ enum class SubscriptionType { CreateEntitlement, UpdateEntitlement, DeleteEntitlement, + ResetEntitlement, INVALID, }; @@ -119,6 +120,8 @@ constexpr magic_enum::customize::customize_t magic_enum::customize::enum_name< return "entitlement.update"; case SubscriptionType::DeleteEntitlement: return "entitlement.delete"; + case SubscriptionType::ResetEntitlement: + return "entitlement.reset"; default: return default_tag;