Allow passing outdated yet unsent message identifier to getRepliedMessage.
GitOrigin-RevId: b24c47456a3716022de52fe030245e048ff5d053
This commit is contained in:
parent
ab5484fd78
commit
301c8b167f
@ -16152,6 +16152,7 @@ FullMessageId MessagesManager::get_replied_message(DialogId dialog_id, MessageId
|
||||
return FullMessageId();
|
||||
}
|
||||
|
||||
message_id = get_persistent_message_id(d, message_id);
|
||||
auto m = get_message_force(d, message_id, "get_replied_message");
|
||||
if (m == nullptr) {
|
||||
if (force) {
|
||||
|
Loading…
Reference in New Issue
Block a user