Skip to content
Snippets Groups Projects
Commit 0e26c3cf authored by Bruno Muniz's avatar Bruno Muniz :apple:
Browse files

Added scan strangers to first time network healthy

parent 8c7b4aa4
No related branches found
No related tags found
2 merge requests!40v1.1.2b166,!38Using new database structure
......@@ -188,15 +188,16 @@ public final class Session: SessionType {
networkMonitor.statusPublisher
.filter { $0 == .available }.first()
.sink { [unowned self] _ in client.bindings.replayRequests() }
.sink { [unowned self] _ in
client.bindings.replayRequests()
scanStrangers {}
}
.store(in: &cancellables)
registerUnfinishedTransfers()
let query = Contact.Query(authStatus: [.verificationInProgress])
_ = try? dbManager.bulkUpdateContacts(query, .init(authStatus: .verificationFailed))
scanStrangers {}
}
public func setDummyTraffic(status: Bool) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment