mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Video Stickers Fixes
This commit is contained in:
parent
0676ccbc83
commit
daa7d61605
@ -184,7 +184,9 @@ func applyUpdateMessage(postbox: Postbox, stateManager: AccountStateManager, mes
|
||||
sentStickers.append(file)
|
||||
}
|
||||
case .Animated:
|
||||
sentGifs.append(file)
|
||||
if !file.isVideoSticker {
|
||||
sentGifs.append(file)
|
||||
}
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
@ -128,7 +128,7 @@ class ChatMessageReplyInfoNode: ASDisplayNode {
|
||||
imageDimensions = representation.dimensions.cgSize
|
||||
}
|
||||
break
|
||||
} else if let file = media as? TelegramMediaFile, file.isVideo {
|
||||
} else if let file = media as? TelegramMediaFile, file.isVideo && !file.isVideoSticker {
|
||||
updatedMediaReference = .message(message: MessageReference(message), media: file)
|
||||
|
||||
if let dimensions = file.dimensions {
|
||||
|
Loading…
x
Reference in New Issue
Block a user