Add warning if failed to find message edit pts.
This commit is contained in:
parent
24d2505f5b
commit
8d48190748
@ -1242,6 +1242,8 @@ int32 UpdatesManager::get_update_edit_message_pts(const telegram_api::Updates *u
|
||||
if (pts == -1) {
|
||||
LOG(ERROR) << "Receive multiple edit message updates in " << to_string(*updates_ptr);
|
||||
pts = 0;
|
||||
} else if (pts == 0) {
|
||||
LOG(ERROR) << "Receive no edit message updates for " << full_message_id << " in " << to_string(*updates_ptr);
|
||||
}
|
||||
return pts;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user