mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Remove duplicated audio transcription appending
This commit is contained in:
parent
f41b47ee25
commit
deeecf61f9
@ -1158,16 +1158,6 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for attribute in message.attributes {
|
|
||||||
if hasExpandedAudioTranscription, let attribute = attribute as? AudioTranscriptionMessageAttribute {
|
|
||||||
if !messageText.isEmpty {
|
|
||||||
messageText.append("\n")
|
|
||||||
}
|
|
||||||
messageText.append(attribute.text)
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var isPoll = false
|
var isPoll = false
|
||||||
if messageText.isEmpty {
|
if messageText.isEmpty {
|
||||||
for media in message.media {
|
for media in message.media {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user