From 45db26bbd5ed6e2f4ef590560b5d9497c23fe2b7 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 8 Mar 2021 13:09:50 +0100 Subject: [PATCH] Do not reopen calls on page reload anymore --- assets/js/components/calls/controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/components/calls/controller.js b/assets/js/components/calls/controller.js index d04a3832..902f4af4 100644 --- a/assets/js/components/calls/controller.js +++ b/assets/js/components/calls/controller.js @@ -134,10 +134,10 @@ document.addEventListener("wsClosed", () => { document.addEventListener("openPage", () => { - CallsController.GetListLocalStorage().forEach(async c => { + /*CallsController.GetListLocalStorage().forEach(async c => { if(!OpenCalls.has(c)) CallsController.Open(await getSingleConversation(c)) - }) + })*/ // Check if a conversation can be integrated inside the page for(const call of OpenCalls.values()) {