Add debug logging.
GitOrigin-RevId: 6f1bf40ff7388359a95f14584bc54780df67b30a
This commit is contained in:
parent
95ff033aae
commit
a3049fa4b4
@ -17711,7 +17711,8 @@ FullMessageId MessagesManager::on_send_message_success(int64 random_id, MessageI
|
|||||||
if (date <= 0) {
|
if (date <= 0) {
|
||||||
LOG(ERROR) << "Receive " << new_message_id << " in " << dialog_id << " with wrong date " << date;
|
LOG(ERROR) << "Receive " << new_message_id << " in " << dialog_id << " with wrong date " << date;
|
||||||
} else {
|
} else {
|
||||||
CHECK(sent_message->date > 0);
|
CHECK(sent_message->date > 0) << old_message_id << ' ' << sent_message->message_id << ' ' << sent_message->date
|
||||||
|
<< ' ' << date;
|
||||||
sent_message->date = date;
|
sent_message->date = date;
|
||||||
CHECK(d->last_message_id != old_message_id);
|
CHECK(d->last_message_id != old_message_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user