Do not call get_active_live_location_messages while adding just loaded from database live locations.
GitOrigin-RevId: 078ed7af9e7f31eaf207751b25542c224c851f82
This commit is contained in:
parent
84ecdac7be
commit
970cbe1c97
@ -16345,7 +16345,7 @@ void MessagesManager::add_active_live_location(FullMessageId full_message_id) {
|
||||
|
||||
if (are_active_live_location_messages_loaded_) {
|
||||
save_active_live_locations();
|
||||
} else {
|
||||
} else if (load_active_live_location_messages_queries_.empty()) {
|
||||
// load active live locations and save after that
|
||||
get_active_live_location_messages(Auto());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user