diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-03 18:19:26 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-03 18:19:57 +0100 |
commit | 66a5bc4fad9c60846b467389e2ae83067b6bb23c (patch) | |
tree | 63530a05c3af2d57af7615ff25ce26edf24e3038 /webclient/components | |
parent | Add support to _simple_insert() to do INSERT OR REPLACE (diff) | |
download | synapse-66a5bc4fad9c60846b467389e2ae83067b6bb23c.tar.xz |
Fix ban path
Diffstat (limited to 'webclient/components')
-rw-r--r-- | webclient/components/matrix/matrix-service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js index 165930fbc1..9ca4135f7f 100644 --- a/webclient/components/matrix/matrix-service.js +++ b/webclient/components/matrix/matrix-service.js @@ -180,7 +180,7 @@ angular.module('matrixService', []) // Bans a user from from a room ban: function(room_id, user_id, reason) { - var path = "/rooms/$room_id/ban/"; + var path = "/rooms/$room_id/ban"; path = path.replace("$room_id", encodeURIComponent(room_id)); return doRequest("POST", path, undefined, { |