TF-145 Implement refresh changes emails in mailbox

This commit is contained in:
dab246
2021-10-07 16:55:03 +07:00
committed by Dat H. Pham
parent aa8ab28b2e
commit a19f18c437
10 changed files with 180 additions and 83 deletions
@@ -15,8 +15,6 @@ class RefreshAllMailboxInteractor {
Stream<Either<Failure, Success>> execute(AccountId accountId, jmapState.State currentState) async* {
try {
yield Right<Failure, Success>(LoadingState());
yield* _mailboxRepository
.refresh(accountId, currentState)
.map(_toGetMailboxState);