[MM-57964] Implement openThread and openStopRecordingModal (#3073)

* Implement API to open thread from Calls widget

* Stop recording modal

* Rename
This commit is contained in:
Claudio Costa
2024-06-20 18:42:21 +02:00
committed by GitHub
parent d3a76caeef
commit c0e2b2a0e7
7 changed files with 100 additions and 1 deletions

View File

@@ -70,6 +70,12 @@ export type DesktopAPI = {
focusPopout: () => void;
openThreadForCalls: (threadID: string) => void;
onOpenThreadForCalls: (listener: (threadID: string) => void) => () => void;
openStopRecordingModal: (channelID: string) => void;
onOpenStopRecordingModal: (listener: (channelID: string) => void) => () => void;
// Utility
unregister: (channel: string) => void;
}