mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Merge remote-tracking branch 'origin/master' into feat/clicky-subs
This commit is contained in:
commit
fc63758087
|
@ -119,6 +119,7 @@
|
||||||
- Dev: Refactored IRC message building. (#5663)
|
- Dev: Refactored IRC message building. (#5663)
|
||||||
- Dev: Fixed some compiler warnings. (#5672)
|
- Dev: Fixed some compiler warnings. (#5672)
|
||||||
- Dev: Unified parsing of historic and live IRC messages. (#5678)
|
- Dev: Unified parsing of historic and live IRC messages. (#5678)
|
||||||
|
- Dev: 7TV's `entitlement.reset` is now explicitly ignored. (#5685)
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
|
|
|
@ -233,6 +233,10 @@ void SeventvEventAPI::handleDispatch(const Dispatch &dispatch)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case SubscriptionType::ResetEntitlement: {
|
||||||
|
// unhandled (not clear what we'd do here yet)
|
||||||
|
}
|
||||||
|
break;
|
||||||
default: {
|
default: {
|
||||||
qCDebug(chatterinoSeventvEventAPI)
|
qCDebug(chatterinoSeventvEventAPI)
|
||||||
<< "Unknown subscription type:"
|
<< "Unknown subscription type:"
|
||||||
|
|
|
@ -27,6 +27,7 @@ enum class SubscriptionType {
|
||||||
CreateEntitlement,
|
CreateEntitlement,
|
||||||
UpdateEntitlement,
|
UpdateEntitlement,
|
||||||
DeleteEntitlement,
|
DeleteEntitlement,
|
||||||
|
ResetEntitlement,
|
||||||
|
|
||||||
INVALID,
|
INVALID,
|
||||||
};
|
};
|
||||||
|
@ -119,6 +120,8 @@ constexpr magic_enum::customize::customize_t magic_enum::customize::enum_name<
|
||||||
return "entitlement.update";
|
return "entitlement.update";
|
||||||
case SubscriptionType::DeleteEntitlement:
|
case SubscriptionType::DeleteEntitlement:
|
||||||
return "entitlement.delete";
|
return "entitlement.delete";
|
||||||
|
case SubscriptionType::ResetEntitlement:
|
||||||
|
return "entitlement.reset";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return default_tag;
|
return default_tag;
|
||||||
|
|
Loading…
Reference in a new issue