mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 14:02:48 +00:00
bug fixes
This commit is contained in:
parent
5ae36f2660
commit
f2ef6d46d5
@ -246,10 +246,12 @@ public extension EngineMessageReactionListContext.State {
|
|||||||
}
|
}
|
||||||
for recentPeer in reactionsAttribute.recentPeers {
|
for recentPeer in reactionsAttribute.recentPeers {
|
||||||
if let peer = message.peers[recentPeer.peerId] {
|
if let peer = message.peers[recentPeer.peerId] {
|
||||||
|
if reaction == nil || recentPeer.value == reaction {
|
||||||
items.append(EngineMessageReactionListContext.Item(peer: EnginePeer(peer), reaction: recentPeer.value))
|
items.append(EngineMessageReactionListContext.Item(peer: EnginePeer(peer), reaction: recentPeer.value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if items.count != totalCount {
|
if items.count != totalCount {
|
||||||
items.removeAll()
|
items.removeAll()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user