mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Change temporary video sticker check to mime type
This commit is contained in:
parent
67203697f4
commit
3553b36394
@ -479,7 +479,7 @@ public final class TelegramMediaFile: Media, Equatable, Codable {
|
||||
}
|
||||
|
||||
public var isVideoSticker: Bool {
|
||||
if let fileName = self.fileName, fileName.hasSuffix(".webm") {
|
||||
if self.mimeType == "video/webm" {
|
||||
return true
|
||||
}
|
||||
if let _ = self.fileName, self.mimeType == "video/webm" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user