mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
32165652c8
@ -146,7 +146,7 @@ private func mergeReactions(reactions: [MessageReaction], recentPeers: [Reaction
|
||||
|
||||
for i in (0 ..< result.count).reversed() {
|
||||
if result[i].chosenOrder != nil {
|
||||
if !pending.contains(where: { $0.value == result[i].value }) {
|
||||
if !pending.contains(where: { $0.value == result[i].value }), result[i].value != .stars {
|
||||
if let index = recentPeers.firstIndex(where: { $0.value == result[i].value && ($0.peerId == accountPeerId || $0.isMy) }) {
|
||||
recentPeers.remove(at: index)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user