mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-30 04:52:46 +00:00
Fix room checks for /state and /state_ids (#1155)
We would return a 403 first (as the server would not be allowed to see this event) and only then return a 404 if the event is not in the given room. We now invert those checks for /state and /state_ids to make the tests pass.
This commit is contained in:
parent
02565c37aa
commit
4220a374ca
3 changed files with 26 additions and 11 deletions
|
@ -350,3 +350,5 @@ setting 'm.room.name' respects room powerlevel
|
|||
Syncing a new room with a large timeline limit isn't limited
|
||||
Left rooms appear in the leave section of sync
|
||||
Banned rooms appear in the leave section of sync
|
||||
Getting state checks the events requested belong to the room
|
||||
Getting state IDs checks the events requested belong to the room
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue