From 37335b2c799533f90d4a716af852fdd6f606363c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Thu, 22 Jul 2021 09:19:47 +0200 Subject: [PATCH] Show toast even for non-presenters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/voip/CallView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/voip/CallView.tsx b/src/components/views/voip/CallView.tsx index 3e25f07eac..0d073d11c0 100644 --- a/src/components/views/voip/CallView.tsx +++ b/src/components/views/voip/CallView.tsx @@ -761,7 +761,7 @@ export default class CallView extends React.Component { let text = isScreensharing ? _t("You are presenting") : _t('%(sharerName)s is presenting', { sharerName }); - if (!this.state.sidebarShown && isScreensharing) { + if (!this.state.sidebarShown) { text += " • " + (this.props.call.isLocalVideoMuted() ? _t("Your camera is turned off") : _t("Your camera is still enabled"));