From f8162c04e260197ca861359373d0483c928f3c1f Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 19 Mar 2019 16:13:17 +0300 Subject: [PATCH] Add more debug. GitOrigin-RevId: e1c7ee0a8487cfaac2d68557500acb8ee4d2c101 --- td/telegram/MessagesManager.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index acf313e6..434acfb1 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -18390,7 +18390,11 @@ vector MessagesManager::get_message_notifications_from_database_fo << from_mentions << " " << is_from_mention_notification_group(d, m) << " " << d->dialog_id << " " << m->message_id << " " << m->notification_id << " " << from_message_id << " " << from_notification_id << " " << group_info.group_id << " " << group_info.last_notification_date << " " << group_info.last_notification_id - << " " << group_info.max_removed_notification_id; + << " " << group_info.max_removed_notification_id << " " << d->last_new_message_id << " " << d->last_message_id + << " " << d->first_database_message_id << " " << d->last_database_message_id << " " << d->max_added_message_id + << " " << d->pinned_message_notification_message_id << " " << d->is_last_message_deleted_locally << " " + << d->debug_last_new_message_id << " " << d->debug_first_database_message_id << " " + << d->debug_last_database_message_id; from_notification_id = m->notification_id; from_message_id = m->message_id; is_found = true; @@ -18594,7 +18598,12 @@ void MessagesManager::on_get_message_notifications_from_database(DialogId dialog << from_mentions << " " << is_from_mention_notification_group(d, m) << " " << dialog_id << " " << m->message_id << " " << m->notification_id << " " << from_message_id << " " << from_notification_id << " " << group_info.group_id << " " << group_info.last_notification_date << " " << group_info.last_notification_id - << " " << group_info.max_removed_notification_id; + << " " << group_info.max_removed_notification_id << " " << d->last_new_message_id << " " << d->last_message_id + << " " << d->first_database_message_id << " " << d->last_database_message_id << " " << d->max_added_message_id + << " " << d->pinned_message_notification_message_id << " " << d->is_last_message_deleted_locally << " " + << d->debug_last_new_message_id << " " << d->debug_first_database_message_id << " " + << d->debug_last_database_message_id; + from_notification_id = m->notification_id; from_message_id = m->message_id;