mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Follow API update
This commit is contained in:
		@@ -321,7 +321,7 @@ ComunicWeb.components.calls.callWindow = {
 | 
				
			|||||||
		//Check if all other members rejected call
 | 
							//Check if all other members rejected call
 | 
				
			||||||
		var allRejected = true;
 | 
							var allRejected = true;
 | 
				
			||||||
		call.info.members.forEach(function(member){
 | 
							call.info.members.forEach(function(member){
 | 
				
			||||||
			if(member.accepted != "rejected" && member.userID != userID())
 | 
								if(member.status != "rejected" && member.userID != userID())
 | 
				
			||||||
				allRejected = false;
 | 
									allRejected = false;
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -340,7 +340,7 @@ ComunicWeb.components.calls.callWindow = {
 | 
				
			|||||||
		call.info.members.forEach(function(member){
 | 
							call.info.members.forEach(function(member){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			//Ignores all not accepted connection
 | 
								//Ignores all not accepted connection
 | 
				
			||||||
			if(member.userID == userID() || member.accepted !== "accepted")
 | 
								if(member.userID == userID() || member.status !== "accepted")
 | 
				
			||||||
				return;
 | 
									return;
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			//Check if we have not peer information
 | 
								//Check if we have not peer information
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user