From 38d4595e3bbd19d05866c3cb697da2e32bb671d4 Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Wed, 2 Jun 2021 14:41:28 -0400 Subject: [PATCH] Fix camera setting when stopping screenshare --- ts/services/calling.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/services/calling.ts b/ts/services/calling.ts index 540e84302b..cef72d3ed1 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -945,7 +945,7 @@ export class CallingClass { } else { this.setOutgoingVideo( conversationId, - Boolean(this.hadLocalVideoBeforePresenting) || hasLocalVideo + this.hadLocalVideoBeforePresenting ?? hasLocalVideo ); this.hadLocalVideoBeforePresenting = undefined; }