Fix ban path

This commit is contained in:
Erik Johnston 2014-09-03 18:19:26 +01:00
parent d703e712f7
commit 66a5bc4fad

View File

@ -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, {