From f7bfeb6e6d0cda7061d340a153ab75e3bd2b0edf Mon Sep 17 00:00:00 2001 From: Ryan Zhao Date: Wed, 2 Mar 2022 09:42:13 +1100 Subject: [PATCH] fix typo --- .../NotificationServiceExtension.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SessionNotificationServiceExtension/NotificationServiceExtension.swift b/SessionNotificationServiceExtension/NotificationServiceExtension.swift index 7ffb87888..d35de1ffe 100644 --- a/SessionNotificationServiceExtension/NotificationServiceExtension.swift +++ b/SessionNotificationServiceExtension/NotificationServiceExtension.swift @@ -30,7 +30,7 @@ public final class NotificationServiceExtension : UNNotificationServiceExtension // Handle the push notification AppReadiness.runNowOrWhenAppDidBecomeReady { - let openGorupPollingPromises = self.pollForOpneGorups() + let openGorupPollingPromises = self.pollForOpenGroups() defer { when(resolved: openGorupPollingPromises).done { _ in self.completeSilenty() @@ -173,7 +173,7 @@ public final class NotificationServiceExtension : UNNotificationServiceExtension } // MARK: Poll for open groups - private func pollForOpneGorups() -> [Promise] { + private func pollForOpenGroups() -> [Promise] { var promises: [Promise] = [] let servers = Set(Storage.shared.getAllV2OpenGroups().values.map { $0.server }) servers.forEach { server in