summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-18 14:47:19 +0000
committerErik Johnston <erik@matrix.org>2016-03-18 14:47:19 +0000
commit8595ff7842ec08e6e246e99cb3205e67d7a5b144 (patch)
tree32142838794cb446c581a954d5bea5a044b8a5eb /synapse/rest/client
parentDon't assume existence of event_id in __str__ (diff)
parentMerge pull request #652 from matrix-org/erikj/delete_alias (diff)
downloadsynapse-8595ff7842ec08e6e246e99cb3205e67d7a5b144.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/get_event
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/directory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/directory.py b/synapse/rest/client/v1/directory.py
index 60c5ec77aa..59a23d6cb6 100644
--- a/synapse/rest/client/v1/directory.py
+++ b/synapse/rest/client/v1/directory.py
@@ -127,8 +127,9 @@ class ClientDirectoryServer(ClientV1RestServlet):
         room_alias = RoomAlias.from_string(room_alias)
 
         yield dir_handler.delete_association(
-            user.to_string(), room_alias
+            requester, user.to_string(), room_alias
         )
+
         logger.info(
             "User %s deleted alias %s",
             user.to_string(),