diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-09-17 13:19:00 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-09-17 13:19:00 +0100 |
commit | 85a43f4167b5e775f7c3afe96d71137818561272 (patch) | |
tree | b82d7edb0b484440193859f9a82d8c0b572efab1 /synapse/storage/directory.py | |
parent | Merge pull request #3888 from matrix-org/rav/nuke_nuke_rooms (diff) | |
download | synapse-85a43f4167b5e775f7c3afe96d71137818561272.tar.xz |
Return a 404 when deleting unknown room alias
As per https://github.com/matrix-org/matrix-doc/issues/1675 Fixes https://github.com/matrix-org/synapse/issues/2782
Diffstat (limited to 'synapse/storage/directory.py')
-rw-r--r-- | synapse/storage/directory.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/directory.py b/synapse/storage/directory.py index 808194236a..cfb687cb53 100644 --- a/synapse/storage/directory.py +++ b/synapse/storage/directory.py @@ -75,7 +75,6 @@ class DirectoryWorkerStore(SQLBaseStore): }, retcol="creator", desc="get_room_alias_creator", - allow_none=True ) @cached(max_entries=5000) |