[core] Groups - allow @all be with other mentions - we resolve group participants anyway

This commit is contained in:
devlikepro committed 2026-01-12 16:50:32 +07:00
1 parent 13de42dbe0
commit 4cf5a74d23
1 file changed
-5
-5
View File
@@ -16,9 +16,4 @@ export function validateRequestMentions(request: {
`"mentions":["all"] can be used only in group chats, not in '${request.chatId}'`,
);
}
if (request.mentions.length > 1) {
throw new UnprocessableEntityException(
`"mentions":["all"] cannot be used with other mentions`,
);
}
}