mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 01:55:53 +03:00
84facf769e
Fix https://github.com/matrix-org/synapse/issues/12678 Complement test added: https://github.com/matrix-org/complement/pull/369 **Before:** 500 internal server error **After:** According to the [spec](https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3roomsroomidmessages), calling `/messages` against a non-existent `room_id` should throw a 403 forbidden (since you're not part of the room). This also matches the behavior before https://github.com/matrix-org/synapse/pull/12370 which regressed Synapse to the 500 behavior. ```json { "errcode": "M_FORBIDDEN", "error": "User @test:my.synapse.server not in room !dne:my.synapse.server, and room previews are disabled" } ``` |
||
---|---|---|
.. | ||
.gitignore | ||
12477.misc | ||
12586.misc | ||
12588.misc | ||
12630.misc | ||
12676.misc | ||
12677.misc | ||
12679.misc | ||
12683.bugfix | ||
12689.misc | ||
12694.misc | ||
12695.misc |