Fix call history deletion from sync messages

This commit is contained in:
Jamie Kyle
2023-09-27 12:42:30 -07:00
committed by GitHub
parent 20ddca9684
commit 1cc478180e
6 changed files with 84 additions and 11 deletions

View File

@@ -630,6 +630,7 @@ export type DataInterface = {
}): Promise<MessageType | undefined>;
getAllCallHistory: () => Promise<ReadonlyArray<CallHistoryDetails>>;
clearCallHistory: (beforeTimestamp: number) => Promise<Array<string>>;
cleanupCallHistoryMessages: () => Promise<void>;
getCallHistoryUnreadCount(): Promise<number>;
markCallHistoryRead(callId: string): Promise<void>;
markAllCallHistoryRead(): Promise<ReadonlyArray<string>>;