diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 15:18:57 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 15:20:09 +0200 |
commit | 4c7da89219894ed565992a4209a23ddcbfa42a33 (patch) | |
tree | bb654b1a839ff28eb139a3ad248e8257603b10f4 /webclient/room/room-controller.js | |
parent | Added /deop $user_id (diff) | |
download | synapse-4c7da89219894ed565992a4209a23ddcbfa42a33.tar.xz |
Do not define power level limits in setUserPowerLevel. Update the function to be used as a resetUserPowerLevel
Diffstat (limited to 'webclient/room/room-controller.js')
-rw-r--r-- | webclient/room/room-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index ab8b35961c..77e93e8930 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -311,7 +311,7 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput']) // Reset the power level of an user if (2 === args.length) { var user_id = args[1]; - promise = matrixService.resetUserPowerLevel($scope.room_id, user_id); + promise = matrixService.setUserPowerLevel($scope.room_id, user_id, undefined); } break; } |