mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:06:02 -04:00
Do not define power level limits in setUserPowerLevel. Update the function to be used as a resetUserPowerLevel
This commit is contained in:
parent
932f35a7f0
commit
4c7da89219
2 changed files with 3 additions and 35 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue