mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Reaction and status improvements
This commit is contained in:
@@ -61,7 +61,7 @@ public func updateMessageReactionsInteractively(account: Account, messageId: Mes
|
||||
for attribute in currentMessage.attributes {
|
||||
if let attribute = attribute as? ReactionsMessageAttribute {
|
||||
for updatedReaction in reactions {
|
||||
if !attribute.reactions.contains(where: { $0.value == updatedReaction.reaction }) {
|
||||
if !attribute.reactions.contains(where: { $0.value == updatedReaction.reaction && $0.isSelected }) {
|
||||
let recentReactionItem: RecentReactionItem
|
||||
switch updatedReaction {
|
||||
case let .builtin(value):
|
||||
|
||||
Reference in New Issue
Block a user