2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-08 02:15:56 +00:00

Allow replying with quoting message part.

This commit is contained in:
John Preston
2023-10-11 21:49:26 +04:00
parent 00db325e91
commit ef0539c9fc
20 changed files with 167 additions and 29 deletions

View File

@@ -71,11 +71,7 @@ void ApplyPeerCloudDraft(
textWithTags,
FullReplyTo{
.messageId = FullMsgId(replyPeerId, reply.messageId),
.quote = TextWithTags{
reply.quote.text,
TextUtilities::ConvertEntitiesToTextTags(
reply.quote.entities),
},
.quote = reply.quote,
.storyId = (reply.storyId
? FullStoryId{ replyPeerId, reply.storyId }
: FullStoryId()),