mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-10-31 01:24:43 +00:00 
			
		
		
		
	Avoid members to be duplicated
This commit is contained in:
		| @@ -21,7 +21,7 @@ export class ConversationsController { | ||||
|  | ||||
| 		const name = h.postString("name"); | ||||
|  | ||||
| 		const members = h.postNumbersList("users"); | ||||
| 		const members = [...new Set(h.postNumbersList("users"))]; | ||||
| 		 | ||||
| 		// Check if the users exists | ||||
| 		for (const userID of members) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user