diff --git a/td/telegram/SavedMessagesManager.cpp b/td/telegram/SavedMessagesManager.cpp index 42ec9006d..a237f18cd 100644 --- a/td/telegram/SavedMessagesManager.cpp +++ b/td/telegram/SavedMessagesManager.cpp @@ -940,6 +940,9 @@ void SavedMessagesManager::reload_pinned_saved_messages_topics() { // just in case return; } + if (!topic_list_.are_pinned_saved_messages_topics_inited_) { + return; + } get_pinned_saved_dialogs(0, Auto()); }