Roll back some refreshDueToExternalTransaction implementations

This commit is contained in:
Ali
2021-11-05 18:26:08 +04:00
parent 37148c70d4
commit 0679e4dd7e
12 changed files with 36 additions and 24 deletions

View File

@@ -38,7 +38,7 @@ final class MutablePeerNotificationSettingsView: MutablePostboxView {
}
func refreshDueToExternalTransaction(postbox: PostboxImpl) -> Bool {
var notificationSettings: [PeerId: PeerNotificationSettings] = [:]
/*var notificationSettings: [PeerId: PeerNotificationSettings] = [:]
for peerId in self.peerIds {
var notificationPeerId = peerId
if let peer = postbox.peerTable.get(peerId), let associatedPeerId = peer.associatedPeerId {
@@ -71,7 +71,8 @@ final class MutablePeerNotificationSettingsView: MutablePostboxView {
return true
} else {
return false
}
}*/
return false
}
func immutableView() -> PostboxView {