Add missing logs

This commit is contained in:
Andrea Cavalli 2021-01-05 12:50:08 +01:00
parent af4693eac7
commit c7820e2d15

View File

@ -7300,7 +7300,7 @@ void MessagesManager::add_pending_channel_update(DialogId dialog_id, tl_object_p
LOG_IF(WARNING, new_pts == old_pts && pts_count == 0) LOG_IF(WARNING, new_pts == old_pts && pts_count == 0)
<< "Receive from " << source << " useless channel update " << oneline(to_string(update)); << "Receive from " << source << " useless channel update " << oneline(to_string(update));
LOG(INFO) << "Skip already applied channel update"; VLOG(messages) << "Skip already applied channel update";
promise.set_value(Unit()); promise.set_value(Unit());
return; return;
} }
@ -35313,7 +35313,7 @@ void MessagesManager::on_get_channel_difference(
return; return;
} }
LOG(INFO) << "Receive result of getChannelDifference for " << dialog_id << " with pts = " << request_pts VLOG(messages) << "Receive result of getChannelDifference for " << dialog_id << " with pts = " << request_pts
<< " and limit = " << request_limit << ": " << to_string(difference_ptr); << " and limit = " << request_limit << ": " << to_string(difference_ptr);
switch (difference_ptr->get_id()) { switch (difference_ptr->get_id()) {