From 585b1f192364facb444be9654e9fe1cb377d2636 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 4 Nov 2022 20:33:54 +0300 Subject: [PATCH] Log to ERROR inconsistent chatPhoto and chatPhotoInfo. --- td/telegram/ContactsManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/td/telegram/ContactsManager.cpp b/td/telegram/ContactsManager.cpp index 3d42acbaa..74e4aabcf 100644 --- a/td/telegram/ContactsManager.cpp +++ b/td/telegram/ContactsManager.cpp @@ -11504,7 +11504,7 @@ void ContactsManager::on_get_user_full(tl_object_ptr &&u } if (u->is_changed) { - LOG(WARNING) << "Receive inconsistent chatPhoto and chatPhotoInfo for " << user_id; + LOG(ERROR) << "Receive inconsistent chatPhoto and chatPhotoInfo for " << user_id; update_user(u, user_id); } @@ -11762,7 +11762,7 @@ void ContactsManager::on_get_chat_full(tl_object_ptr &&c } if (c->is_changed) { - LOG(WARNING) << "Receive inconsistent chatPhoto and chatPhotoInfo for " << chat_id; + LOG(ERROR) << "Receive inconsistent chatPhoto and chatPhotoInfo for " << chat_id; update_chat(c, chat_id); } @@ -12041,7 +12041,7 @@ void ContactsManager::on_get_chat_full(tl_object_ptr &&c } if (c->is_changed) { - LOG(WARNING) << "Receive inconsistent chatPhoto and chatPhotoInfo for " << channel_id; + LOG(ERROR) << "Receive inconsistent chatPhoto and chatPhotoInfo for " << channel_id; update_channel(c, channel_id); }