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
@@ -29,7 +29,6 @@ abstract class ThreadRepository {
Properties? propertiesCreated,
Properties? propertiesUpdated,
bool getLatestChanges = true,
bool skipCache = false,
}
);
@@ -27,7 +27,6 @@ class GetEmailsInMailboxInteractor {
Properties? propertiesCreated,
Properties? propertiesUpdated,
bool getLatestChanges = true,
bool skipCache = false,
}
) async* {
try {
@@ -42,8 +41,7 @@ class GetEmailsInMailboxInteractor {
emailFilter: emailFilter,
propertiesCreated: propertiesCreated,
propertiesUpdated: propertiesUpdated,
getLatestChanges: getLatestChanges,
skipCache: skipCache)
getLatestChanges: getLatestChanges)
.map((emailResponse) => _toGetEmailState(
emailResponse: emailResponse,
currentMailboxId: emailFilter?.mailboxId