mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
InvertMediaAttribute
This commit is contained in:
@@ -523,6 +523,14 @@ public extension Message {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var invertMedia: Bool {
|
||||
for attribute in self.attributes {
|
||||
if let _ = attribute as? InvertMediaMessageAttribute {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
public extension Message {
|
||||
|
||||
Reference in New Issue
Block a user