Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix /messages throwing a 500 when querying for non-existent room #12683

Commits on May 10, 2022

  1. Fix /messages throwing a 500 when querying for non-existent room

    Fix #12678
    
    Before: 500 internal server error
    
    After: When calling `/messages` against a non-existent room_id it should throw a 403 forbidden,
    see https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3roomsroomidmessages
    ```json
    {
        "errcode": "M_FORBIDDEN",
        "error": "User @test:my.synapse.server not in room !dne:my.synapse.server, and room previews are disabled"
    }
    ```
    MadLittleMods committed May 10, 2022
    Configuration menu
    Copy the full SHA
    a9c242b View commit details
    Browse the repository at this point in the history
  2. Add changelog

    MadLittleMods committed May 10, 2022
    Configuration menu
    Copy the full SHA
    9dc7796 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Use standard regression fix changelog

    Co-authored-by: David Robertson <[email protected]>
    MadLittleMods and David Robertson authored May 11, 2022
    Configuration menu
    Copy the full SHA
    1896cfc View commit details
    Browse the repository at this point in the history