mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Improve the way calls are automatically reopened
This commit is contained in:
		@@ -99,8 +99,9 @@ document.addEventListener("wsClosed", () => {
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
document.addEventListener("wsOpen", () => {
 | 
					document.addEventListener("openPage", () => {
 | 
				
			||||||
	CallsController.GetListLocalStorage().forEach(async c => {
 | 
						CallsController.GetListLocalStorage().forEach(async c => {
 | 
				
			||||||
 | 
							if(!OpenConversations.has(c))
 | 
				
			||||||
			CallsController.Open(await getSingleConversation(c))
 | 
								CallsController.Open(await getSingleConversation(c))
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
		Reference in New Issue
	
	Block a user