Skip to content

Commit dc8ffea

Browse files
committed
Add more ignored config options.
1 parent 5ed555a commit dc8ffea

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

td/telegram/ConfigManager.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,12 @@ void ConfigManager::process_app_config(tl_object_ptr<telegram_api::JSONValue> &c
14351435
static const FlatHashSet<Slice, SliceHash> ignored_options(
14361436
{"default_emoji_statuses_stickerset_id", "forum_upgrade_participants_min", "getfile_experimental_params",
14371437
"message_animated_emoji_max", "stickers_emoji_cache_time", "stories_export_nopublic_link", "test",
1438-
"upload_max_fileparts_default", "upload_max_fileparts_premium", "channel_color_level_min"});
1438+
"upload_max_fileparts_default", "upload_max_fileparts_premium", "channel_color_level_min",
1439+
"groupcall_video_participants_max", "story_expire_period", "stories_posting",
1440+
"giveaway_gifts_purchase_available", "stars_purchase_blocked", "stargifts_blocked", "starref_program_allowed",
1441+
"starref_connect_allowed", "qr_login_code", "dialog_filters_enabled",
1442+
//
1443+
"dialog_filters_tooltip"});
14391444
if (config->get_id() == telegram_api::jsonObject::ID) {
14401445
for (auto &key_value : static_cast<telegram_api::jsonObject *>(config.get())->value_) {
14411446
Slice key = key_value->key_;

td/telegram/ConfigManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ConfigManager final : public NetQueryCallback {
7777

7878
private:
7979
struct AppConfig {
80-
static constexpr int32 CURRENT_VERSION = 79;
80+
static constexpr int32 CURRENT_VERSION = 80;
8181
int32 version_ = 0;
8282
int32 hash_ = 0;
8383
telegram_api::object_ptr<telegram_api::JSONValue> config_;

0 commit comments

Comments
 (0)