From faef50b44484c37cf1a2dfa00203ffbb0f1dd822 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 17 Jan 2020 03:13:18 +0300 Subject: [PATCH] Increase approximate entities fix date. GitOrigin-RevId: dac6e89c9804e74233316c62f23f01c64198965e --- td/telegram/MessageEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessageEntity.cpp b/td/telegram/MessageEntity.cpp index 8a54d1937..2a7c2b599 100644 --- a/td/telegram/MessageEntity.cpp +++ b/td/telegram/MessageEntity.cpp @@ -2685,7 +2685,7 @@ FormattedText get_message_text(const ContactsManager *contacts_manager, string m auto debug_entities = entities; auto status = fix_formatted_text(message_text, entities, true, skip_new_entities, true, false); if (status.is_error()) { - if (send_date == 0 || send_date > 1497000000) { // approximate fix date + if (send_date == 0 || send_date > 1579219200) { // approximate fix date LOG(ERROR) << "Receive error " << status << " while parsing message text from " << source << " with content \"" << debug_message_text << "\" -> \"" << message_text << "\" sent at " << send_date << " with entities " << format::as_array(debug_entities) << " -> " << format::as_array(entities);