diff options
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, { |