mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-10-31 17:44:03 +00:00 
			
		
		
		
	Fix bad check
This commit is contained in:
		| @@ -31,7 +31,7 @@ export class CallsController { | |||||||
| 		const convID = await h.postConversationId("convID"); | 		const convID = await h.postConversationId("convID"); | ||||||
|  |  | ||||||
| 		// If the user was active in any other calls, remove him | 		// If the user was active in any other calls, remove him | ||||||
| 		for(const c of UserWebSocketController.active_clients.filter((f) => f.userID == convID && f.activeCalls.has(convID))) | 		for(const c of UserWebSocketController.active_clients.filter((f) => f.userID == h.getUserId() && f.activeCalls.has(convID))) | ||||||
| 			await this.MakeUserLeaveCall(convID, c) | 			await this.MakeUserLeaveCall(convID, c) | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user