Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-11-23 23:35:46 +04:00
parent 4309eb36af
commit 0fa28de265
13 changed files with 85 additions and 22 deletions

View File

@@ -739,6 +739,8 @@ public final class ChatHistoryListNode: ListView, ChatHistoryNode {
additionalData.append(.peerNotificationSettings(peerId))
if peerId.namespace == Namespaces.Peer.CloudChannel {
additionalData.append(.cacheEntry(cachedChannelAdminRanksEntryId(peerId: peerId)))
}
if [Namespaces.Peer.CloudChannel, Namespaces.Peer.CloudGroup].contains(peerId.namespace) {
additionalData.append(.peer(peerId))
}
if peerId.namespace == Namespaces.Peer.CloudUser || peerId.namespace == Namespaces.Peer.SecretChat {