TF-3591 Implement CalendarEventCounter/accept method

This commit is contained in:
DatDang
2025-04-16 09:37:42 +07:00
committed by Dat H. Pham
parent 037fcc03a1
commit 9df53ef6b9
27 changed files with 256 additions and 21 deletions
@@ -52,4 +52,14 @@ class CalendarEventDataSourceImpl extends CalendarEventDataSource {
return await _calendarEventAPI.rejectEventInvitation(accountId, blobIds, language);
}).catchError(_exceptionThrower.throwException);
}
@override
Future<CalendarEventAcceptResponse> acceptCounterEvent(
AccountId accountId,
Set<Id> blobIds,
) {
return Future.sync(() async {
return await _calendarEventAPI.acceptCounterEvent(accountId, blobIds);
}).catchError(_exceptionThrower.throwException);
}
}