TF-437 Store state change of mailbox in background/terminate

This commit is contained in:
dab246
2022-11-30 11:51:46 +07:00
committed by Dat H. Pham
parent 49069a595c
commit 569a04844b
10 changed files with 117 additions and 22 deletions
@@ -147,6 +147,8 @@ class FcmController extends BaseController {
} else if (typeName == TypeName.mailboxType) {
if (isForeground) {
return SynchronizeMailboxOnForegroundAction(typeName, newState, accountId);
} else {
return StoreMailboxStateToRefreshAction(typeName, newState, accountId);
}
}
return null;