Ensure clicking 'message' in contact modal does not unpip the active call

Co-authored-by: yash-signal <yash@signal.org>
This commit is contained in:
automated-signal 2024-10-15 11:16:46 -05:00 committed by GitHub
parent 614310b3bf
commit 1dbf1ce0a9
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(