Merge pull request from GHSA-9qvc-84ch-5p2x
* Check permissions and rights

* Prevent editing message type unless MANAGE_MESSAGES right. Also don't send sensitive data in patch response.
1 parent 067d2d8 commit 6e04c92f0792f893bbe12b778751432bdfd76580
@Madeline Madeline authored on 2 Feb 2023
GitHub committed on 2 Feb 2023
Showing 1 changed file
View
src/api/routes/channels/#channel_id/messages/#message_id/index.ts