Add comment, why reply_info never dropped.
GitOrigin-RevId: 568023da3a41415bf48c7230cd32cb5b46b86cf8
This commit is contained in:
parent
ffc1dec3d1
commit
dd75a08e65
@ -61,6 +61,10 @@ MessageReplyInfo::MessageReplyInfo(tl_object_ptr<telegram_api::messageReplies> &
|
||||
}
|
||||
|
||||
bool MessageReplyInfo::need_update_to(const MessageReplyInfo &other) const {
|
||||
if (other.is_empty() && !is_empty()) {
|
||||
// ignore updates to empty reply info, because we will hide the info ourselves
|
||||
// return true;
|
||||
}
|
||||
if (other.pts < pts) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user