Reload autosave settings periodically.

This commit is contained in:
levlam 2023-02-06 20:10:27 +03:00
parent 2260944afe
commit d4833b7844

View File

@ -1881,6 +1881,7 @@ void UpdatesManager::try_reload_data() {
LOG(INFO) << "Reload data";
td_->animations_manager_->get_saved_animations(Auto());
td_->autosave_manager_->reload_autosave_settings();
td_->contacts_manager_->reload_created_public_dialogs(PublicDialogType::HasUsername, Auto());
td_->contacts_manager_->reload_created_public_dialogs(PublicDialogType::IsLocationBased, Auto());
get_default_emoji_statuses(td_, Auto());