mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-07 08:01:10 +00:00
Count music as secret media
This commit is contained in:
parent
1b42457611
commit
6d0cb728ab
@ -61,7 +61,7 @@ public extension Message {
|
|||||||
case _ as TelegramMediaImage:
|
case _ as TelegramMediaImage:
|
||||||
return true
|
return true
|
||||||
case let file as TelegramMediaFile:
|
case let file as TelegramMediaFile:
|
||||||
if file.isVideo || file.isAnimated || file.isVoice {
|
if file.isVideo || file.isAnimated || file.isVoice || file.isMusic {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user