Mark all calls read when opening calls tab

This commit is contained in:
Jamie Kyle
2023-08-22 14:01:36 -07:00
committed by GitHub
parent b7c17212c7
commit 344ebf494d
8 changed files with 80 additions and 17 deletions

View File

@@ -637,6 +637,7 @@ export type DataInterface = {
clearCallHistory: (beforeTimestamp: number) => Promise<Array<string>>;
getCallHistoryUnreadCount(): Promise<number>;
markCallHistoryRead(callId: string): Promise<void>;
markAllCallHistoryRead(): Promise<ReadonlyArray<string>>;
getCallHistoryMessageByCallId(options: {
conversationId: string;
callId: string;