diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-01-07 16:09:00 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-01-07 16:09:00 +0000 |
commit | 4c68460392ef032b156b8d006f4aec5496ceedcb (patch) | |
tree | 29e51118deba86377b44aa0b3220b2cb2568670b /synapse/handlers | |
parent | SYN-154: Better error messages when joining an unknown room by ID. (diff) | |
download | synapse-4c68460392ef032b156b8d006f4aec5496ceedcb.tar.xz |
SYN-154: Tweak how the m.room.create check is done.
Don't perform the check in auth.is_host_in_room but instead do it in _do_join and also assert that there are no m.room.members in the room before doing so.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/room.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py |