diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-04-22 18:12:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 18:12:18 +0200 |
commit | c160218fd2e7834bad087692602338d4b149e41a (patch) | |
tree | 8e8248d34868137b01853bf824892915c55372a7 /api/src | |
parent | Update UserGroup.ts (diff) | |
parent | Fix not assigning new changes to input fields in users/@me (diff) | |
download | server-c160218fd2e7834bad087692602338d4b149e41a.tar.xz |
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 )
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/routes/channels/#channel_id/messages/index.ts | 5 | ||||
-rw-r--r-- | api/src/routes/users/@me/index.ts | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/api/src/routes/channels/#channel_id/messages/index.ts b/api/src/routes/channels/#channel_id/messages/index.ts |