diff options
author | Erik Johnston <erik@matrix.org> | 2016-03-18 14:02:46 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-03-18 14:02:46 +0000 |
commit | 916227b4df907c87a5c7b2c18c759fd8be80fa51 (patch) | |
tree | 003bdca42f8d6ea160742b5446713ae6d3ef9b55 /synapse/rest | |
parent | Merge pull request #650 from matrix-org/dbkr/register_idempotent_with_username (diff) | |
parent | Check canonical alias event exists (diff) | |
download | synapse-916227b4df907c87a5c7b2c18c759fd8be80fa51.tar.xz |
Merge pull request #652 from matrix-org/erikj/delete_alias
Update aliases event after deletion
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/directory.py | 3 |
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(), |