diff --git a/Riot/Managers/PushNotification/PushNotificationService.m b/Riot/Managers/PushNotification/PushNotificationService.m index bef062452..5edec7a00 100644 --- a/Riot/Managers/PushNotification/PushNotificationService.m +++ b/Riot/Managers/PushNotification/PushNotificationService.m @@ -577,9 +577,11 @@ Matrix session observer used to detect new opened sessions. dispatch_group_t dispatchGroup = dispatch_group_create(); dispatch_group_enter(dispatchGroup); + session.spaceService.graphUpdateEnabled = NO; // Not continuing in completion block here, because PushKit mandates reporting a new call in the same run loop. // 'handleBackgroundSyncCacheIfRequiredWithCompletion' is processing to-device events synchronously. [session handleBackgroundSyncCacheIfRequiredWithCompletion:^{ + session.spaceService.graphUpdateEnabled = YES; dispatch_group_leave(dispatchGroup); }]; diff --git a/changelog.d/4919.bugfix b/changelog.d/4919.bugfix new file mode 100644 index 000000000..c364a0603 --- /dev/null +++ b/changelog.d/4919.bugfix @@ -0,0 +1 @@ +fixed App may not start in 1.6.0 \ No newline at end of file