From cbd6a55619a6415e2fa551a266a45a6d4f1509aa Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 5 Jan 2021 17:29:06 +0100 Subject: [PATCH] Fix #10 --- td/telegram/MessagesManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 4aa818e86..5c2c2e751 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -7210,14 +7210,14 @@ void MessagesManager::add_pending_channel_update(DialogId dialog_id, tl_object_p CHECK(update != nullptr); if (dialog_id.get_type() != DialogType::Channel) { if (dialog_id != DialogId() || !td_->auth_manager_->is_bot()) { - LOG(ERROR) << "Receive channel update in invalid " << dialog_id << " from " << source << ": " + LOG(WARNING) << "Receive channel update in invalid " << dialog_id << " from " << source << ": " << oneline(to_string(update)); } promise.set_value(Unit()); return; } if (pts_count < 0 || new_pts <= pts_count) { - LOG(ERROR) << "Receive channel update from " << source << " with wrong pts = " << new_pts + LOG(WARNING) << "Receive channel update from " << source << " with wrong pts = " << new_pts << " or pts_count = " << pts_count << ": " << oneline(to_string(update)); promise.set_value(Unit()); return;