2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-06 17:35:36 +00:00

Fix forwarded names in saved messages export.

This commit is contained in:
John Preston
2018-06-28 18:25:21 +01:00
parent efb3e92525
commit b0baf75fdd
5 changed files with 19 additions and 4 deletions

View File

@@ -468,6 +468,9 @@ QByteArray SerializeMessage(
"forwarded_from",
wrapPeerName(message.forwardedFromId));
}
if (message.savedFromChatId) {
pushBare("saved_from", wrapPeerName(message.savedFromChatId));
}
pushReplyToMsgId();
if (message.viaBotId) {
const auto username = FormatUsername(