diff --git a/src/controllers/ConversationsController.ts b/src/controllers/ConversationsController.ts index 5889c72..7912103 100644 --- a/src/controllers/ConversationsController.ts +++ b/src/controllers/ConversationsController.ts @@ -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) {