Power saving improvements

This commit is contained in:
Ali
2023-02-24 18:08:30 +04:00
parent 96496aabd9
commit de29a6b54b
55 changed files with 1551 additions and 411 deletions

View File

@@ -33,6 +33,7 @@ func _internal_resetAccountState(postbox: Postbox, network: Network, accountPeer
}
}
transaction.updatePeerCachedData(peerIds: Set([peerId]), update: { _, _ in nil })
transaction.setPeerThreadCombinedState(peerId: peerId, state: nil)
}
}