Ensure clicking 'message' in contact modal un-pips the active call

This commit is contained in:
yash-signal 2024-10-15 10:48:36 -05:00 committed by GitHub
parent 9ff6c75eb9
commit cb40adfa55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ export const isInCall = createSelector(
export const isInFullScreenCall = createSelector(
getActiveCallState,
(activeCallState: undefined | ActiveCallStateType): boolean =>
Boolean(activeCallState?.pip)
Boolean(activeCallState && !activeCallState.pip)
);
export const getIncomingCall = createSelector(