mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Fix forwarded names in saved messages export.
This commit is contained in:
@@ -440,6 +440,9 @@ QByteArray SerializeMessage(
|
||||
if (message.forwardedFromId) {
|
||||
push("Forwarded from", wrapPeerName(message.forwardedFromId));
|
||||
}
|
||||
if (message.savedFromChatId) {
|
||||
push("Saved from", wrapPeerName(message.savedFromChatId));
|
||||
}
|
||||
pushReplyToMsgId();
|
||||
if (message.viaBotId) {
|
||||
push("Via", user(message.viaBotId).username);
|
||||
|
@@ -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(
|
||||
|
@@ -340,6 +340,9 @@ QByteArray SerializeMessage(
|
||||
if (message.forwardedFromId) {
|
||||
push("Forwarded from", wrapPeerName(message.forwardedFromId));
|
||||
}
|
||||
if (message.savedFromChatId) {
|
||||
push("Saved from", wrapPeerName(message.savedFromChatId));
|
||||
}
|
||||
pushReplyToMsgId();
|
||||
if (message.viaBotId) {
|
||||
push("Via", user(message.viaBotId).username);
|
||||
|
Reference in New Issue
Block a user