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

@@ -214,12 +214,12 @@ final class MutablePeerView: MutablePostboxView {
if let peer = self.peers[self.peerId] {
if let associatedPeerId = peer.associatedPeerId {
if let notificationSettings = updatedNotificationSettings[associatedPeerId] {
if let (_, notificationSettings) = updatedNotificationSettings[associatedPeerId] {
self.notificationSettings = notificationSettings
updated = true
}
} else {
if let notificationSettings = updatedNotificationSettings[peer.id] {
if let (_, notificationSettings) = updatedNotificationSettings[peer.id] {
self.notificationSettings = notificationSettings
updated = true
}