mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
@@ -577,11 +577,11 @@ Matrix session observer used to detect new opened sessions.
|
||||
dispatch_group_t dispatchGroup = dispatch_group_create();
|
||||
|
||||
dispatch_group_enter(dispatchGroup);
|
||||
session.updateSpaces = NO;
|
||||
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.updateSpaces = YES;
|
||||
session.spaceService.graphUpdateEnabled = YES;
|
||||
dispatch_group_leave(dispatchGroup);
|
||||
}];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user