TF-3385 Remove skipCache mechanism in get all emails

This commit is contained in:
DatDang
2025-01-03 15:11:03 +07:00
committed by Dat H. Pham
parent 2e4b38fcb2
commit 6396b50bc9
4 changed files with 3 additions and 9 deletions
@@ -49,7 +49,6 @@ class ThreadRepositoryImpl extends ThreadRepository {
Properties? propertiesCreated,
Properties? propertiesUpdated,
bool getLatestChanges = true,
bool skipCache = false,
}
) async* {
log('ThreadRepositoryImpl::getAllEmail(): filter = ${emailFilter?.mailboxId}');
@@ -89,7 +88,7 @@ class ThreadRepositoryImpl extends ThreadRepository {
);
}
yield networkEmailResponse;
} else if (!skipCache) {
} else {
yield localEmailResponse;
}