Remove some logging.
GitOrigin-RevId: 20b3a4942bfd51dbbcb49f9b5ac973406c7163ac
This commit is contained in:
parent
58ae8cc587
commit
c859a4eb78
@ -8509,7 +8509,7 @@ void MessagesManager::unload_dialog(DialogId dialog_id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (left_to_unload > 0) {
|
if (left_to_unload > 0) {
|
||||||
LOG(INFO) << "Need to unload " << left_to_unload << " messages more in " << dialog_id;
|
LOG(DEBUG) << "Need to unload " << left_to_unload << " messages more in " << dialog_id;
|
||||||
pending_unload_dialog_timeout_.add_timeout_in(d->dialog_id.get(), DIALOG_UNLOAD_DELAY);
|
pending_unload_dialog_timeout_.add_timeout_in(d->dialog_id.get(), DIALOG_UNLOAD_DELAY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -11283,11 +11283,11 @@ unique_ptr<MessagesManager::Message> MessagesManager::do_delete_message(Dialog *
|
|||||||
m->have_previous, m->have_next, source);
|
m->have_previous, m->have_next, source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool need_get_history = false;
|
||||||
|
if (!only_from_memory) {
|
||||||
LOG(INFO) << "Deleting " << full_message_id << " with have_previous = " << m->have_previous
|
LOG(INFO) << "Deleting " << full_message_id << " with have_previous = " << m->have_previous
|
||||||
<< " and have_next = " << m->have_next << " from " << source;
|
<< " and have_next = " << m->have_next << " from " << source;
|
||||||
|
|
||||||
bool need_get_history = false;
|
|
||||||
if (!only_from_memory) {
|
|
||||||
delete_message_from_database(d, message_id, m, is_permanently_deleted);
|
delete_message_from_database(d, message_id, m, is_permanently_deleted);
|
||||||
|
|
||||||
delete_active_live_location(d->dialog_id, m);
|
delete_active_live_location(d->dialog_id, m);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user