mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Initial reply stats implementation
This commit is contained in:
@@ -316,7 +316,11 @@ func enqueueMessages(transaction: Transaction, account: Account, peerId: PeerId,
|
||||
attributes.append(contentsOf: filterMessageAttributesForOutgoingMessage(requestedAttributes))
|
||||
|
||||
if let replyToMessageId = replyToMessageId, replyToMessageId.peerId == peerId {
|
||||
attributes.append(ReplyMessageAttribute(messageId: replyToMessageId))
|
||||
var threadMessageId: MessageId?
|
||||
if let replyMessage = transaction.getMessage(replyToMessageId) {
|
||||
threadMessageId = replyMessage.effectiveReplyThreadMessageId
|
||||
}
|
||||
attributes.append(ReplyMessageAttribute(messageId: replyToMessageId, threadMessageId: threadMessageId))
|
||||
}
|
||||
var mediaList: [Media] = []
|
||||
if let mediaReference = mediaReference {
|
||||
|
||||
Reference in New Issue
Block a user