summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index c3c95996e7..22c6391a15 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -115,7 +115,7 @@ class DirectoryHandler(BaseHandler):
         if not self.hs.is_mine(room_alias):
             raise SynapseError(400, "Room alias must be local")
 
-        room_id = yield self.store.delete_room_alias(room_alias)
+        yield self.store.delete_room_alias(room_alias)
 
         # TODO - Looks like _update_room_alias_event has never been implemented
         # if room_id: