Update default list of Premium features.

This commit is contained in:
levlam 2024-02-13 00:10:54 +03:00
parent 6b0262e9f7
commit 638e5e5d8c

View File

@ -906,12 +906,13 @@ void get_premium_limit(const td_api::object_ptr<td_api::PremiumLimitType> &limit
void get_premium_features(Td *td, const td_api::object_ptr<td_api::PremiumSource> &source,
Promise<td_api::object_ptr<td_api::premiumFeatures>> &&promise) {
auto premium_features = full_split(
G()->get_option_string(
"premium_features",
"stories,double_limits,animated_emoji,translations,more_upload,faster_download,voice_to_text,no_ads,infinite_"
"reactions,premium_stickers,advanced_chat_management,profile_badge,animated_userpics,app_icons,emoji_status"),
',');
auto premium_features =
full_split(G()->get_option_string(
"premium_features",
"stories,more_upload,double_limits,last_seen,voice_to_text,faster_download,translations,animated_"
"emoji,emoji_status,saved_tags,peer_colors,wallpapers,profile_badge,message_privacy,advanced_chat_"
"management,no_ads,app_icons,infinite_reactions,animated_userpics,premium_stickers"),
',');
vector<td_api::object_ptr<td_api::PremiumFeature>> features;
for (const auto &premium_feature : premium_features) {
auto feature = get_premium_feature_object(premium_feature);