From 7eece22bf3bfefa896e9069fa438e5eb94960f50 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 7 Jun 2022 00:21:49 +0200 Subject: [PATCH] Bugfix --- td/telegram/MessagesManager.cpp | 2 -- td/telegram/PollManager.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 3e0b6f7ee..592170b55 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -6250,8 +6250,6 @@ void MessagesManager::memory_stats(vector &output) { output.push_back(","); output.push_back("\"load_active_live_location_messages_queries_\":"); output.push_back(std::to_string(this->load_active_live_location_messages_queries_.size())); output.push_back(","); - output.push_back("\"message_id_to_dialog_id_\":"); output.push_back(std::to_string(this->message_id_to_dialog_id_.size())); - output.push_back(","); output.push_back("\"notification_group_id_to_dialog_id_\":"); output.push_back(std::to_string(this->notification_group_id_to_dialog_id_.size())); output.push_back(","); output.push_back("\"previous_repaired_read_inbox_max_message_id_\":"); output.push_back(std::to_string(this->previous_repaired_read_inbox_max_message_id_.size())); diff --git a/td/telegram/PollManager.cpp b/td/telegram/PollManager.cpp index c46f28908..91ede435d 100644 --- a/td/telegram/PollManager.cpp +++ b/td/telegram/PollManager.cpp @@ -1829,8 +1829,6 @@ void PollManager::on_binlog_events(vector &&events) { void PollManager::memory_stats(vector &output) { output.push_back("\"polls_\":"); output.push_back(std::to_string(polls_.size())); output.push_back(","); - output.push_back("\"poll_messages_\":"); output.push_back(std::to_string(poll_messages_.size())); - output.push_back(","); output.push_back("\"pending_answers_\":"); output.push_back(std::to_string(pending_answers_.size())); output.push_back(","); output.push_back("\"poll_voters_\":"); output.push_back(std::to_string(poll_voters_.size()));