From f4dbc9312118358e9db2df65936b6276dd3a9574 Mon Sep 17 00:00:00 2001 From: IceDBorn Date: Sun, 26 Mar 2023 20:31:16 +0300 Subject: [PATCH] Remove pip class name if a call is not active to prevent pip from spawning --- src/app/templates/client/Client.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/templates/client/Client.jsx b/src/app/templates/client/Client.jsx index ac588aa9..e9762055 100644 --- a/src/app/templates/client/Client.jsx +++ b/src/app/templates/client/Client.jsx @@ -165,6 +165,9 @@ function Client() { const JITSI_ROOM_CLASS = 'jitsi_pip' const ROOM_CLASS = `room__wrapper ${classNameHidden}` + let jitsiPip = ''; + if (isJitsiRoom) jitsiPip = ROOM_CLASS; + else if (jitsiCallId) jitsiPip = JITSI_ROOM_CLASS; return (
-
+