mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +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", () => {
 | 
					document.addEventListener("openPage", () => {
 | 
				
			||||||
	CallsController.GetListLocalStorage().forEach(async c => {
 | 
						/*CallsController.GetListLocalStorage().forEach(async c => {
 | 
				
			||||||
		if(!OpenCalls.has(c))
 | 
							if(!OpenCalls.has(c))
 | 
				
			||||||
			CallsController.Open(await getSingleConversation(c))
 | 
								CallsController.Open(await getSingleConversation(c))
 | 
				
			||||||
	})
 | 
						})*/
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	// Check if a conversation can be integrated inside the page
 | 
						// Check if a conversation can be integrated inside the page
 | 
				
			||||||
	for(const call of OpenCalls.values()) {
 | 
						for(const call of OpenCalls.values()) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user