TF-2384 Store email delivery state in background mode on iOS
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit d87c633809a8eb5779d0d087e3d762b4d825c757)
This commit is contained in:
@@ -133,7 +133,7 @@ class EmailChangeListener extends ChangeListener {
|
|||||||
_userName = userName;
|
_userName = userName;
|
||||||
log('EmailChangeListener::_pushNotificationAction():newState: $newState');
|
log('EmailChangeListener::_pushNotificationAction():newState: $newState');
|
||||||
|
|
||||||
if (PlatformInfo.isWeb) {
|
if (PlatformInfo.isWeb || PlatformInfo.isIOS) {
|
||||||
_storeEmailDeliveryStateAction(accountId, userName, _newStateEmailDelivery!);
|
_storeEmailDeliveryStateAction(accountId, userName, _newStateEmailDelivery!);
|
||||||
} else if (PlatformInfo.isAndroid) {
|
} else if (PlatformInfo.isAndroid) {
|
||||||
_getStoredEmailDeliveryState(accountId, userName);
|
_getStoredEmailDeliveryState(accountId, userName);
|
||||||
|
|||||||
Reference in New Issue
Block a user