Update API

This commit is contained in:
Ali 2022-08-19 01:05:37 +03:00
parent 29fe0f0879
commit b4f8d20d7b
13 changed files with 391 additions and 246 deletions

View file

@ -330,7 +330,7 @@ public extension Message {
}
for attribute in self.attributes {
if let attribute = attribute as? PendingReactionsMessageAttribute {
return attribute.value != nil
return !attribute.reactions.isEmpty
}
}
return false