From c46c75e4f0cdce3d181f5aa85ccec9681abc032e Mon Sep 17 00:00:00 2001 From: ryanzhao Date: Wed, 4 May 2022 17:18:03 +1000 Subject: [PATCH] clean --- Session/Utilities/BackgroundPoller.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Session/Utilities/BackgroundPoller.swift b/Session/Utilities/BackgroundPoller.swift index 78f26743e..7ab31d811 100644 --- a/Session/Utilities/BackgroundPoller.swift +++ b/Session/Utilities/BackgroundPoller.swift @@ -37,10 +37,6 @@ public final class BackgroundPoller : NSObject { } private static func getMessages(for publicKey: String, isClosedGroup: Bool = false) -> Promise { - func handleRawMessages(rawResponse: Any) -> [Promise] { - - } - return SnodeAPI.getSwarm(for: publicKey).then(on: DispatchQueue.main) { swarm -> Promise in guard let snode = swarm.randomElement() else { throw SnodeAPI.Error.generic } return attempt(maxRetryCount: 4, recoveringOn: DispatchQueue.main) {