This commit is contained in:
overtake
2021-12-23 11:13:45 +04:00
parent c202037099
commit 09a538bf1c
2 changed files with 8 additions and 0 deletions

View File

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