diff --git a/SignalMessaging/Notifications/UserNotificationsAdaptee.swift b/SignalMessaging/Notifications/UserNotificationsAdaptee.swift index 9a79c7d6c2..09c9d15f98 100644 --- a/SignalMessaging/Notifications/UserNotificationsAdaptee.swift +++ b/SignalMessaging/Notifications/UserNotificationsAdaptee.swift @@ -243,23 +243,15 @@ class UserNotificationPresenterAdaptee: NSObject, NotificationPresenterAdaptee { Logger.info("Will donate interaction") } - let group = DispatchGroup() - group.enter() interaction.donate(completion: { error in if DebugFlags.internalLogging { Logger.info("Did donate interaction") } - group.leave() - if let error = error { owsFailDebug("Failed to donate incoming message intent \(error)") return } }) - if case .timedOut = group.wait(timeout: .now() + 1.0) { - Logger.warn("Timed out donating intent") - } - if DebugFlags.internalLogging { Logger.info("Will update notification content with intent") }