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

@@ -21,13 +21,14 @@ final class MutablePeerNotificationSettingsBehaviorTimestampView: MutablePostbox
}
func refreshDueToExternalTransaction(postbox: PostboxImpl) -> Bool {
let earliestTimestamp = postbox.peerNotificationSettingsBehaviorTable.getEarliest()?.1
/*let earliestTimestamp = postbox.peerNotificationSettingsBehaviorTable.getEarliest()?.1
if self.earliestTimestamp != earliestTimestamp {
self.earliestTimestamp = earliestTimestamp
return true
} else {
return false
}
}*/
return false
}
func immutableView() -> PostboxView {