mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Glass
This commit is contained in:
parent
f444587197
commit
4f04dc0bb7
12 changed files with 466 additions and 381 deletions
|
|
@ -3560,6 +3560,15 @@ private final class ChatReadReportContextItemNode: ASDisplayNode, ContextMenuCus
|
|||
if self.item.action == nil {
|
||||
return false
|
||||
}
|
||||
if self.item.isEdit {
|
||||
return false
|
||||
}
|
||||
if self.item.message.id.peerId.namespace == Namespaces.Peer.CloudUser {
|
||||
if let stats = self.currentStats, stats.peers.isEmpty {
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
var reactionCount = 0
|
||||
for reaction in mergedMessageReactionsAndPeers(accountPeerId: self.item.context.account.peerId, accountPeer: nil, message: self.item.message).reactions {
|
||||
reactionCount += Int(reaction.count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue