diff --git a/td/telegram/RecentDialogList.cpp b/td/telegram/RecentDialogList.cpp index c65767877..56fe62993 100644 --- a/td/telegram/RecentDialogList.cpp +++ b/td/telegram/RecentDialogList.cpp @@ -106,7 +106,7 @@ void RecentDialogList::load_dialogs(Promise &&promise) { } } if (!dialog_ids.empty()) { - if (G()->use_chat_info_database()) { + if (G()->use_chat_info_database() && !G()->td_db()->was_dialog_db_created()) { td_->messages_manager_->load_dialogs( std::move(dialog_ids), PromiseCreator::lambda(