TF-1900 Auto sync Sending Queue after work manager completed

(cherry picked from commit e68a8fdc49c600224b93e25f60ed6b8ecf1afe84)
This commit is contained in:
dab246
2023-06-04 12:21:27 +07:00
committed by Dat Vu
parent 38bd86019e
commit b2f96c8142
11 changed files with 92 additions and 20 deletions
@@ -11,7 +11,7 @@ class SendingQueueRepositoryImpl extends SendingQueueRepository {
SendingQueueRepositoryImpl(this._emailHiveCacheDataSourceImpl);
@override
Future<List<SendingEmail>> getAllSendingEmails(AccountId accountId, UserName userName) {
return _emailHiveCacheDataSourceImpl.getAllSendingEmails(accountId, userName);
Future<List<SendingEmail>> getAllSendingEmails(AccountId accountId, UserName userName, {bool needToReopen = false}) {
return _emailHiveCacheDataSourceImpl.getAllSendingEmails(accountId, userName, needToReopen: needToReopen);
}
}