Resave live location list if some locations expired.

GitOrigin-RevId: 35b949ff6735f4a060a1c7e4af6153eb607d1962
This commit is contained in:
levlam 2020-01-24 01:14:43 +03:00
parent 590e8efcb4
commit 84ecdac7be

View File

@ -16296,7 +16296,7 @@ void MessagesManager::on_load_active_live_location_full_message_ids_from_databas
on_load_active_live_location_messages_finished();
if (!new_full_message_ids.empty()) {
if (!new_full_message_ids.empty() || old_full_message_ids.size() != active_live_location_full_message_ids_.size()) {
save_active_live_locations();
}
}