mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Fix build system.
This commit is contained in:
		@@ -694,7 +694,7 @@ ComunicWeb.components.calls.callWindow = {
 | 
			
		||||
			call.signalClient.sendSignal(member.user_call_id, JSON.stringify(data));
 | 
			
		||||
		});
 | 
			
		||||
 | 
			
		||||
		peer.on("message", message => {
 | 
			
		||||
		peer.on("message", function(message){
 | 
			
		||||
			console.log("Message from remote peer: " + message);
 | 
			
		||||
		});
 | 
			
		||||
 | 
			
		||||
@@ -788,7 +788,7 @@ ComunicWeb.components.calls.callWindow = {
 | 
			
		||||
		/**
 | 
			
		||||
		 * @type {HTMLVideoElement}
 | 
			
		||||
		 */
 | 
			
		||||
		let video = createElem2({
 | 
			
		||||
		var video = createElem2({
 | 
			
		||||
			appendTo: call.window.videosTarget,
 | 
			
		||||
			type: "video"
 | 
			
		||||
		});
 | 
			
		||||
 
 | 
			
		||||
@@ -94,7 +94,7 @@ ComunicWeb.components.calls.controller = {
 | 
			
		||||
	 * 
 | 
			
		||||
	 * @return Cached calls configuration
 | 
			
		||||
	 */
 | 
			
		||||
	getConfig() {
 | 
			
		||||
	getConfig: function() {
 | 
			
		||||
		return ComunicWeb.components.calls.__config;
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -42,7 +42,7 @@ ComunicWeb.components.calls.currentList = {
 | 
			
		||||
	 * @param {number} id The ID of the call to add
 | 
			
		||||
	 */
 | 
			
		||||
	addCallToList: function(id){
 | 
			
		||||
		let list = this.getCurrentCallsList();
 | 
			
		||||
		var list = this.getCurrentCallsList();
 | 
			
		||||
 | 
			
		||||
		if(!list.includes(""+id))
 | 
			
		||||
			list.push(id);
 | 
			
		||||
@@ -57,7 +57,7 @@ ComunicWeb.components.calls.currentList = {
 | 
			
		||||
	 */
 | 
			
		||||
	removeCallFromList: function(id){
 | 
			
		||||
 | 
			
		||||
		let list = this.getCurrentCallsList();
 | 
			
		||||
		var list = this.getCurrentCallsList();
 | 
			
		||||
 | 
			
		||||
		while(list.includes(""+id))
 | 
			
		||||
			list.splice(list.indexOf(""+id), 1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user