mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
Adapt to new method, change timeout to seconds
Signed-off-by: ismailgulek <gulekismail@gmail.com>
This commit is contained in:
@@ -173,7 +173,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||
}
|
||||
|
||||
// launch an initial background sync
|
||||
mxSession.initialBackgroundSync(withTimeout: 20000) { [weak self] (response) in
|
||||
mxSession.backgroundSync(withTimeout: 20, ignoreSessionState: true) { [weak self] (response) in
|
||||
switch response {
|
||||
case .success:
|
||||
guard let self = self else {
|
||||
|
||||
Reference in New Issue
Block a user