This commit is contained in:
ryanzhao 2022-05-04 17:18:03 +10:00
parent 86605dce08
commit c46c75e4f0
1 changed files with 0 additions and 4 deletions

View File

@ -37,10 +37,6 @@ public final class BackgroundPoller : NSObject {
}
private static func getMessages(for publicKey: String, isClosedGroup: Bool = false) -> Promise<Void> {
func handleRawMessages(rawResponse: Any) -> [Promise<Void>] {
}
return SnodeAPI.getSwarm(for: publicKey).then(on: DispatchQueue.main) { swarm -> Promise<Void> in
guard let snode = swarm.randomElement() else { throw SnodeAPI.Error.generic }
return attempt(maxRetryCount: 4, recoveringOn: DispatchQueue.main) {