mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Do not reopen calls on page reload anymore
This commit is contained in:
		@@ -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()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user