Update name of premiumFeatureAccentColor.

This commit is contained in:
levlam 2023-11-28 14:06:37 +03:00
parent 16e3eb2a8a
commit e51da2da32

View File

@ -91,7 +91,7 @@ static td_api::object_ptr<td_api::PremiumFeature> get_premium_feature_object(Sli
if (premium_feature == "channel_boost") {
return td_api::make_object<td_api::premiumFeatureChatBoost>();
}
if (premium_feature == "name_color") {
if (premium_feature == "peer_color") {
return td_api::make_object<td_api::premiumFeatureAccentColor>();
}
return nullptr;
@ -727,7 +727,7 @@ static string get_premium_source(const td_api::PremiumFeature *feature) {
case td_api::premiumFeatureChatBoost::ID:
return "channel_boost";
case td_api::premiumFeatureAccentColor::ID:
return "name_color";
return "peer_color";
default:
UNREACHABLE();
}