two sync loop always enabled by default

This commit is contained in:
Mauro Romito
2023-07-25 18:00:10 +02:00
committed by Mauro
parent 7a9edc5efa
commit ed28bc5d02
8 changed files with 5 additions and 19 deletions
@@ -71,7 +71,7 @@ class NotificationServiceExtension: UNNotificationServiceExtension {
MXLog.info("\(tag) run with roomId: \(roomId), eventId: \(eventId)")
do {
let userSession = try NSEUserSession(credentials: credentials, isEncryptionSyncEnabled: settings.isEncryptionSyncEnabled)
let userSession = try NSEUserSession(credentials: credentials)
self.userSession = userSession
guard let itemProxy = await userSession.notificationItemProxy(roomID: roomId, eventID: eventId) else {
MXLog.info("\(tag) no notification for the event, discard")