mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Input state updates
This commit is contained in:
parent
53fe1718e9
commit
dcfc4d9364
7 changed files with 95 additions and 18 deletions
|
|
@ -478,7 +478,7 @@ public final class ChatInterfaceState: Codable, Equatable {
|
|||
return nil
|
||||
} else {
|
||||
let sourceText = expandedInputStateAttributedString(self.composeInputState.inputText)
|
||||
return SynchronizeableChatInputState(replySubject: self.replyMessageSubject?.subjectModel, text: sourceText.string, entities: generateChatInputTextEntities(sourceText), timestamp: self.timestamp, textSelection: self.composeInputState.selectionRange)
|
||||
return SynchronizeableChatInputState(replySubject: self.replyMessageSubject?.subjectModel, text: sourceText.string, entities: generateChatInputTextEntities(sourceText), timestamp: self.timestamp, textSelection: self.composeInputState.selectionRange, messageEffectId: self.sendMessageEffect)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue