mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Check enabled field in notification settings push toggles
This commit is contained in:
+4
@@ -91,6 +91,10 @@ class UserSessionOverviewService: UserSessionOverviewServiceProtocol {
|
||||
|
||||
switch response {
|
||||
case .success:
|
||||
if let account = MXKAccountManager.shared().activeAccounts.first, account.device?.deviceId == pusher.deviceId {
|
||||
account.loadCurrentPusher(nil)
|
||||
}
|
||||
|
||||
self.checkPusher()
|
||||
case .failure(let error):
|
||||
MXLog.warning("[UserSessionOverviewService] togglePusher failed due to error: \(error)")
|
||||
|
||||
Reference in New Issue
Block a user