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

@@ -28,7 +28,7 @@ final class MutablePeerPresencesView: MutablePostboxView {
}
func refreshDueToExternalTransaction(postbox: PostboxImpl) -> Bool {
var presences: [PeerId: PeerPresence] = [:]
/*var presences: [PeerId: PeerPresence] = [:]
for id in self.ids {
if let presence = postbox.peerPresenceTable.get(id) {
@@ -58,7 +58,8 @@ final class MutablePeerPresencesView: MutablePostboxView {
return true
} else {
return false
}
}*/
return false
}
func immutableView() -> PostboxView {