Better handle group call ring race conditions
This commit is contained in:
parent
629b5c3f6a
commit
a88243f26d
9 changed files with 169 additions and 116 deletions
|
@ -80,6 +80,12 @@ export const getIncomingCall = createSelector(
|
|||
}
|
||||
);
|
||||
|
||||
export const areAnyCallsActiveOrRinging = createSelector(
|
||||
getActiveCall,
|
||||
getIncomingCall,
|
||||
(activeCall, incomingCall): boolean => Boolean(activeCall || incomingCall)
|
||||
);
|
||||
|
||||
export const isInSpeakerView = (
|
||||
call: Pick<ActiveCallStateType, 'viewMode'> | undefined
|
||||
): boolean => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue