mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[WIP] Dynamic video streaming
This commit is contained in:
@@ -27,7 +27,7 @@ private func mediaMergeableStyle(_ media: Media) -> ChatMessageMerge {
|
||||
switch attribute {
|
||||
case .Sticker:
|
||||
return .semanticallyMerged
|
||||
case let .Video(_, _, flags, _, _):
|
||||
case let .Video(_, _, flags, _, _, _):
|
||||
if flags.contains(.instantRoundVideo) {
|
||||
return .none
|
||||
}
|
||||
@@ -437,7 +437,7 @@ public final class ChatMessageItemImpl: ChatMessageItem, CustomStringConvertible
|
||||
viewClassName = ChatMessageStickerItemNode.self
|
||||
}
|
||||
break loop
|
||||
case let .Video(_, _, flags, _, _):
|
||||
case let .Video(_, _, flags, _, _, _):
|
||||
if flags.contains(.instantRoundVideo) {
|
||||
viewClassName = ChatMessageBubbleItemNode.self
|
||||
break loop
|
||||
|
||||
Reference in New Issue
Block a user