Calling selectors are now based on the root state

This commit is contained in:
Evan Hahn
2020-12-02 12:11:54 -06:00
committed by GitHub
parent d1866a0e5d
commit be99bbe87a
4 changed files with 47 additions and 19 deletions

View File

@@ -89,10 +89,12 @@ export interface ActiveCallStateType {
settingsDialogOpen: boolean;
}
export interface CallsByConversationType {
[conversationId: string]: DirectCallStateType | GroupCallStateType;
}
export type CallingStateType = MediaDeviceSettings & {
callsByConversation: {
[conversationId: string]: DirectCallStateType | GroupCallStateType;
};
callsByConversation: CallsByConversationType;
activeCallState?: ActiveCallStateType;
};