summary refs log tree commit diff
path: root/synapse/storage/directory.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-09-17 13:19:00 +0100
committerRichard van der Hoff <richard@matrix.org>2018-09-17 13:19:00 +0100
commit85a43f4167b5e775f7c3afe96d71137818561272 (patch)
treeb82d7edb0b484440193859f9a82d8c0b572efab1 /synapse/storage/directory.py
parentMerge pull request #3888 from matrix-org/rav/nuke_nuke_rooms (diff)
downloadsynapse-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.py1
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)