Fix ban path

pull/4/merge
Erik Johnston 10 years ago
parent d703e712f7
commit 66a5bc4fad
  1. 2
      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, {

Loading…
Cancel
Save