Experimental chat list filtering

This commit is contained in:
Ali
2020-01-24 13:01:49 +04:00
parent 13b0847b1e
commit d2e3c9d54a
18 changed files with 880 additions and 87 deletions

View File

@@ -26,7 +26,7 @@ final class MutablePeerNotificationSettingsView: MutablePostboxView {
if let peer = postbox.peerTable.get(peerId), let associatedPeerId = peer.associatedPeerId {
notificationPeerId = associatedPeerId
}
if let settings = transaction.currentUpdatedPeerNotificationSettings[notificationPeerId] {
if let (_, settings) = transaction.currentUpdatedPeerNotificationSettings[notificationPeerId] {
self.notificationSettings[peerId] = settings
updated = true
}