Get spam mailbox cache by AccountId

(cherry picked from commit c35685bf34f5f4fbf28c4cbca9842c20dee61ffc)
This commit is contained in:
dab246
2023-04-25 15:23:52 +07:00
committed by Dat Vu
parent 6189edd777
commit 8414c0d819
11 changed files with 20 additions and 19 deletions
@@ -61,7 +61,7 @@ class SpamReportRepositoryImpl extends SpamReportRepository {
}
@override
Future<Mailbox> getSpamMailboxCached() {
return mapDataSource[DataSourceType.cache]!.getSpamMailboxCached();
Future<Mailbox> getSpamMailboxCached(AccountId accountId) {
return mapDataSource[DataSourceType.cache]!.getSpamMailboxCached(accountId);
}
}