mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
2901679679
commit
d9b74ac33a
@ -523,8 +523,6 @@ func mediaAreaFromApiMediaArea(_ mediaArea: Api.MediaArea) -> MediaArea? {
|
|||||||
return .url(coordinates: coodinatesFromApiMediaAreaCoordinates(coordinates), url: url)
|
return .url(coordinates: coodinatesFromApiMediaAreaCoordinates(coordinates), url: url)
|
||||||
case let .mediaAreaChannelPost(coordinates, channelId, messageId):
|
case let .mediaAreaChannelPost(coordinates, channelId, messageId):
|
||||||
return .channelMessage(coordinates: coodinatesFromApiMediaAreaCoordinates(coordinates), messageId: EngineMessage.Id(peerId: PeerId(namespace: Namespaces.Peer.CloudChannel, id: PeerId.Id._internalFromInt64Value(channelId)), namespace: Namespaces.Message.Cloud, id: messageId))
|
return .channelMessage(coordinates: coodinatesFromApiMediaAreaCoordinates(coordinates), messageId: EngineMessage.Id(peerId: PeerId(namespace: Namespaces.Peer.CloudChannel, id: PeerId.Id._internalFromInt64Value(channelId)), namespace: Namespaces.Message.Cloud, id: messageId))
|
||||||
case .mediaAreaUrl:
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3431,6 +3431,8 @@ final class StoryItemSetContainerSendMessage {
|
|||||||
}))
|
}))
|
||||||
case .reaction:
|
case .reaction:
|
||||||
return
|
return
|
||||||
|
case .url:
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
self.selectedMediaArea = mediaArea
|
self.selectedMediaArea = mediaArea
|
||||||
|
Loading…
x
Reference in New Issue
Block a user