summary refs log tree commit diff
path: root/tests/module_api/test_api.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make AccessRules use the public rooms directory instead of checking a room's ↵Andrew Morgan2020-09-181-1/+55
| | | | | | | join rules on rule change (#63) This PR switches several conditions regarding room access rules to check against the status of the room's inclusion in the public room list instead of its join rules. The code includes a snapshot of https://github.com/matrix-org/synapse/pull/8292, which will likely change in time and need merging in again.
* Wrap register_device coroutine in an ensureDeferred (#7684)Andrew Morgan2020-06-161-0/+54
Fixes https://github.com/matrix-org/synapse/issues/7683 Broke in: #7649 We had a `yield` acting on a coroutine. To be fair this one is a bit difficult to notice as there's a function in the middle that just passes the coroutine along.