mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-06 16:07:42 +02:00
Merge pull request #4925 from vector-im/gil/4919_app_may_not_start_in_1.6.0
App may not start in 1.6.0
This commit is contained in:
@@ -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);
|
||||
}];
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
fixed App may not start in 1.6.0
|
||||
Reference in New Issue
Block a user