Increase approximate entities fix date.
GitOrigin-RevId: dac6e89c9804e74233316c62f23f01c64198965e
This commit is contained in:
parent
cde26abe1e
commit
faef50b444
@ -2685,7 +2685,7 @@ FormattedText get_message_text(const ContactsManager *contacts_manager, string m
|
|||||||
auto debug_entities = entities;
|
auto debug_entities = entities;
|
||||||
auto status = fix_formatted_text(message_text, entities, true, skip_new_entities, true, false);
|
auto status = fix_formatted_text(message_text, entities, true, skip_new_entities, true, false);
|
||||||
if (status.is_error()) {
|
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 \""
|
LOG(ERROR) << "Receive error " << status << " while parsing message text from " << source << " with content \""
|
||||||
<< debug_message_text << "\" -> \"" << message_text << "\" sent at " << send_date << " with entities "
|
<< debug_message_text << "\" -> \"" << message_text << "\" sent at " << send_date << " with entities "
|
||||||
<< format::as_array(debug_entities) << " -> " << format::as_array(entities);
|
<< format::as_array(debug_entities) << " -> " << format::as_array(entities);
|
||||||
|
Loading…
Reference in New Issue
Block a user