[core] Groups - allow @all be with other mentions - we resolve group participants anyway
This commit is contained in:
1 parent
13de42dbe0
commit
4cf5a74d23
1 file changed
-5
@@ -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`,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user