Don't reload pinned Saved Messages topics if they weren't loaded.
This commit is contained in:
parent
3fa7448dd9
commit
7478bf3051
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user