2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix crash in local changelog messages.

This commit is contained in:
John Preston
2021-10-07 10:58:24 +04:00
parent 352768053d
commit 0c906a5e6d
3 changed files with 5 additions and 3 deletions

View File

@@ -439,7 +439,7 @@ void SendConfirmedFile(
| (localEntities.v.isEmpty()
? MTPDmessage::Flag()
: MTPDmessage::Flag::f_entities)),
MTP_int(newId.msg),
MTP_int(0), // Not used (would've been trimmed to 32 bits).
peerToMTP(messageFromId),
peerToMTP(file->to.peer),
MTPMessageFwdHeader(),