Add telegram_service_notifications_chat_id and replise_bot_chat_id read-only options.
GitOrigin-RevId: b1fe6a5366bdb1c8c2a4ef06689f0e682fb892d4
This commit is contained in:
parent
1fe397e43d
commit
6cb823bbce
@ -2902,6 +2902,10 @@ ContactsManager::ContactsManager(Td *td, ActorShared<> parent) : td_(td), parent
|
||||
|
||||
my_id_ = load_my_id();
|
||||
|
||||
G()->shared_config().set_option_integer("telegram_service_notifications_chat_id",
|
||||
DialogId(get_service_notifications_user_id()).get());
|
||||
G()->shared_config().set_option_integer("replies_bot_chat_id", DialogId(get_replies_bot_user_id()).get());
|
||||
|
||||
if (G()->parameters().use_chat_info_db) {
|
||||
auto next_contacts_sync_date_string = G()->td_db()->get_binlog_pmc()->get("next_contacts_sync_date");
|
||||
if (!next_contacts_sync_date_string.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user