From 6d742ec9b68905d8de8a7ec1da2f0cd7cd35871f Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 26 Dec 2019 23:03:56 +0300 Subject: [PATCH] Improve logging. GitOrigin-RevId: 19ebd22de4f0b6fd036f6d8ec2a40c6808f5f7b8 --- td/telegram/MessagesManager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index fc570923..c9692c67 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -22613,8 +22613,10 @@ void MessagesManager::send_update_unread_chat_count(FolderId folder_id, DialogId int32 unread_unmuted_count = list.unread_dialog_total_count_ - list.unread_dialog_muted_count_; int32 unread_unmuted_marked_count = list.unread_dialog_marked_count_ - list.unread_dialog_muted_marked_count_; LOG(INFO) << (need_postpone ? "Postpone" : "Send") << " updateUnreadChatCount in " << folder_id << " to " - << list.unread_dialog_total_count_ << '/' << unread_unmuted_count << '/' << list.unread_dialog_marked_count_ - << '/' << unread_unmuted_marked_count << " from " << source << " and " << dialog_id; + << list.in_memory_dialog_total_count_ << '/' << list.server_dialog_total_count_ << '+' + << list.secret_chat_total_count_ << '/' << list.unread_dialog_total_count_ << '/' << unread_unmuted_count + << '/' << list.unread_dialog_marked_count_ << '/' << unread_unmuted_marked_count << " from " << source + << " and " << dialog_id; if (need_postpone) { postponed_unread_chat_count_updates_.insert(folder_id); } else {