mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
Fix build
This commit is contained in:
parent
5fa82a72ea
commit
71d91f6bff
@ -156,7 +156,7 @@ private func callWithTelegramMessage(_ telegramMessage: Message, account: Accoun
|
||||
|
||||
var duration: Int32?
|
||||
for media in telegramMessage.media {
|
||||
if let action = media as? TelegramMediaAction, case let .phoneCall(_, _, callDuration) = action.action {
|
||||
if let action = media as? TelegramMediaAction, case let .phoneCall(_, _, callDuration, _) = action.action {
|
||||
duration = callDuration
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user