mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-07 01:45:39 +00:00
Handle fwd_from without a link to the account.
This commit is contained in:
@@ -471,6 +471,10 @@ QByteArray SerializeMessage(
|
||||
pushBare(
|
||||
"forwarded_from",
|
||||
wrapPeerName(message.forwardedFromId));
|
||||
} else if (!message.forwardedFromName.isEmpty()) {
|
||||
pushBare(
|
||||
"forwarded_from",
|
||||
StringAllowNull(message.forwardedFromName));
|
||||
}
|
||||
if (message.savedFromChatId) {
|
||||
pushBare("saved_from", wrapPeerName(message.savedFromChatId));
|
||||
|
Reference in New Issue
Block a user