Merge pull request #734 from MaddyUnderStars/fix/sanitisation
Fix users arbitrarily editing their own User object, and disallow sending messages to certain channels ( eg categories )
commit c160218fd2e7834bad087692602338d4b149e41a
2 parents 266e9c4 + 6e0040a
@TheArcaneBrony TheArcaneBrony authored on 22 Apr 2022
GitHub committed on 22 Apr 2022
Showing 5 changed files
View
api/assets/schemas.json
Too large (Show diff)
View
api/scripts/generate_schema.js
View
api/src/routes/channels/#channel_id/messages/index.ts
View
api/src/routes/users/@me/index.ts
View
util/src/entities/Channel.ts