diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-02-10 14:51:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 14:51:12 +0000 |
commit | d180754623e1ff5272fc47a1760c87610ca97b16 (patch) | |
tree | ea39f9feb63f8dd60d603e2e3d81357482a73caa /tests/handlers/test_user_directory.py | |
parent | Add knocking support (#81) (diff) | |
download | synapse-d180754623e1ff5272fc47a1760c87610ca97b16.tar.xz |
Show knock rooms in the public room directory and inform clients they can be knocked on (#82)
This PR implements the ["Changes regarding the Public Rooms Directory"](https://github.com/Sorunome/matrix-doc/blob/soru/knock/proposals/2403-knock.md#changes-regarding-the-public-rooms-directory) section of knocking MSC2403. Specifically, it: * Allows rooms with `join_rule` "knock" to be returned by the query behind the public rooms directory * Adds the field `join_rule` to each room entry returned by a public rooms directory query, so clients can know whether to attempt a join or knock on a room This PR is a clone of [the mainline PR](https://github.com/matrix-org/synapse/pull/9359). Complement tests for this change: https://github.com/matrix-org/complement/pull/72.
Diffstat (limited to 'tests/handlers/test_user_directory.py')
0 files changed, 0 insertions, 0 deletions