mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix build
This commit is contained in:
parent
07d8537d75
commit
0b7a6dab8e
@ -171,7 +171,7 @@ func _internal_translateMessages(account: Account, messageIds: [EngineMessage.Id
|
||||
let storeForwardInfo = currentMessage.forwardInfo.flatMap(StoreMessageForwardInfo.init)
|
||||
var attributes = currentMessage.attributes.filter { !($0 is TranslationMessageAttribute) }
|
||||
var attrOptions: [TranslationMessageAttribute.Additional] = []
|
||||
for (i, option) in poll.0.options.enumerated() {
|
||||
for (i, _) in poll.0.options.enumerated() {
|
||||
let translated = result[i + 1]
|
||||
attrOptions.append(.init(text: translated.0, entities: translated.1))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user