Check enabled field in notification settings push toggles

- Update after review
This commit is contained in:
Gil Eluard
2022-10-06 12:46:03 +02:00
parent 353cd584dd
commit 8b30542ebe
@@ -677,6 +677,11 @@ static NSArray<NSNumber*> *initialSyncSilentErrorsHTTPStatusCodes;
{
if (!self.mxSession.myDeviceId)
{
MXLogWarning(@"[MXKAccount] loadPusher: device ID not found");
if (failure)
{
failure([NSError errorWithDomain:kMXKAccountErrorDomain code:0 userInfo:nil]);
}
return;
}