Skip to content

Commit

Permalink
Allow 'allowed_mentions' key to be specified
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaWilliams1 authored and maddymeows committed Mar 12, 2024
1 parent 30b5a3d commit daf7be2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/editor/data/validation/isMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const isMessage: Validator = first(
"attachments",
"thread_name",
"flags",
"allowed_mentions",
),
requiresKey("content", "embeds"),
isShape({
Expand Down

0 comments on commit daf7be2

Please sign in to comment.