From cb40adfa55bbe627fcb6b4d8bb2beca5755e2cab Mon Sep 17 00:00:00 2001 From: yash-signal Date: Tue, 15 Oct 2024 10:48:36 -0500 Subject: [PATCH] Ensure clicking 'message' in contact modal un-pips the active call --- ts/state/selectors/calling.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/state/selectors/calling.ts b/ts/state/selectors/calling.ts index ccdb6b465e..cd4e36153a 100644 --- a/ts/state/selectors/calling.ts +++ b/ts/state/selectors/calling.ts @@ -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(