Do not reopen calls on page reload anymore

This commit is contained in:
Pierre HUBERT 2021-03-08 13:09:50 +01:00
parent 2e1dc48671
commit 45db26bbd5

View File

@ -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()) {