m->d: Use allowed_mentions feature to control @room->@everyone #35

Closed
opened 2024-02-13 00:11:45 +00:00 by cadence · 1 comment
Owner

https://discord.com/developers/docs/resources/channel#allowed-mentions-object

Adding allowed_mentions to sent messages lets me disable @everyone parsing based on where the Matrix user has @room permissions or not.

This means I can stop using the disableEveryone feature that SnowTransfer provides, since ST's version breaks links containing an @ sign (for good reason).

https://discord.com/developers/docs/resources/channel#allowed-mentions-object Adding allowed_mentions to sent messages lets me disable @everyone parsing based on where the Matrix user has @room permissions or not. This means I can stop using the `disableEveryone` feature that SnowTransfer provides, since ST's version breaks links containing an @ sign (for good reason).
cadence added this to the v2.x milestone 2024-02-13 00:28:56 +00:00
Author
Owner

Done in 25cd8cb289.

Done in 25cd8cb289f8238c622bb5d4364e6d26098bec72.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cadence/out-of-your-element#35
No description provided.