From fb4819fb0d6e0f68d9f8a85ac5e98c2dddeb3cba Mon Sep 17 00:00:00 2001 From: ismailgulek Date: Thu, 22 Oct 2020 17:26:25 +0300 Subject: [PATCH] Rever background sync method --- Riot/Managers/PushNotification/PushNotificationService.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Riot/Managers/PushNotification/PushNotificationService.m b/Riot/Managers/PushNotification/PushNotificationService.m index 824a68333..5058b1e16 100644 --- a/Riot/Managers/PushNotification/PushNotificationService.m +++ b/Riot/Managers/PushNotification/PushNotificationService.m @@ -305,7 +305,7 @@ Matrix session observer used to detect new opened sessions. NSLog(@"[PushNotificationService] launchBackgroundSync"); MXWeakify(self); - [account backgroundSync:20000 success:^(MXSyncResponse *syncResponse) { + [account backgroundSync:20000 success:^{ // Sanity check MXStrongifyAndReturnIfNil(self);