Comment improvements

This commit is contained in:
Ali
2020-09-11 13:08:04 +01:00
parent 04e4297fdb
commit 0fbc4f7009
11 changed files with 99 additions and 36 deletions

View File

@@ -256,7 +256,7 @@ private func extractAdditionalData(view: MessageHistoryView, chatLocation: ChatL
case let .peerNotificationSettings(value):
notificationSettings = value
case let .cachedPeerData(peerIdValue, value):
if case .peer(peerIdValue) = chatLocation {
if chatLocation.peerId == peerIdValue {
cachedData = value
}
case let .cachedPeerDataMessages(peerIdValue, value):