From 43e0d385f2cefe0d40f39f6455d62a58c25de5b4 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 5 Mar 2018 18:34:33 +0300 Subject: [PATCH] Update layer 76. GitOrigin-RevId: 10c40c6e3eb3a540aa3dce8967be964f39b76cd3 --- td/generate/scheme/telegram_api.tl | 4 +--- td/generate/scheme/telegram_api.tlo | Bin 149484 -> 149276 bytes td/telegram/ConfigManager.cpp | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/td/generate/scheme/telegram_api.tl b/td/generate/scheme/telegram_api.tl index c6bf83d4..11e5f7f7 100644 --- a/td/generate/scheme/telegram_api.tl +++ b/td/generate/scheme/telegram_api.tl @@ -347,7 +347,7 @@ upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption; -config#e644ec1f flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int = Config; +config#86b5778e flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int = Config; nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; @@ -452,8 +452,6 @@ stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; messages.allStickersNotModified#e86602c3 = messages.AllStickers; messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; contactLinkUnknown#5f4f9247 = ContactLink; diff --git a/td/generate/scheme/telegram_api.tlo b/td/generate/scheme/telegram_api.tlo index 2198dce376d081219499844615495d3ac4d68240..6557f4c0fd0c9c24db9ad4a8a49bc59652e72b17 100644 GIT binary patch delta 128 zcmaFU&pD@$llReVeJchixU-QrnuVpWd~4h09F_#e%|BRu6d7|iyQ;IBi-JVilJoP@ zGSeAA?3>4geAG85#!YA5tdLZ}4AC_wHG{3WA!mC-4r4=w1WXyo^de_A9S+;JgCMc( K5>FYgBmn?o?k}hS delta 233 zcmbQ!$N8q8llReVeJchixVw=znuSIFjmxvmIV=f`A}aaG>-b$VixZP_Qd8Vg6H7{q zQYRje*nEc7N0Bjiv!pt^xhP0ATXKG0T4p)}h<)>zkdMY>M_ujB32`~hyu8U7i6!w# znd$MxnN`yZ*D*?OK9g9%46(!`HG@qDY)J~LB_J`7K}k diff --git a/td/telegram/ConfigManager.cpp b/td/telegram/ConfigManager.cpp index 554f3f34..d956bc3c 100644 --- a/td/telegram/ConfigManager.cpp +++ b/td/telegram/ConfigManager.cpp @@ -669,7 +669,6 @@ void ConfigManager::process_config(tl_object_ptr config) { shared_config.set_option_integer("forwarded_message_count_max", config->forwarded_count_max_); shared_config.set_option_integer("basic_group_size_max", config->chat_size_max_); shared_config.set_option_integer("supergroup_size_max", config->megagroup_size_max_); - shared_config.set_option_integer("large_chat_size", config->chat_big_size_); shared_config.set_option_integer("pinned_chat_count_max", config->pinned_dialogs_count_max_); shared_config.set_option_string("t_me_url", config->me_url_prefix_); if (is_from_main_dc) { @@ -712,6 +711,7 @@ void ConfigManager::process_config(tl_object_ptr config) { shared_config.set_option_empty("online_cloud_timeout_ms"); shared_config.set_option_empty("notify_cloud_delay_ms"); shared_config.set_option_empty("notify_default_delay_ms"); + shared_config.set_option_empty("large_chat_size"); if (is_from_main_dc) { for (auto &feature : shared_config.get_options("disabled_")) {