mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-09 08:40:29 +03:00
revert changes from powerlevels
This commit is contained in:
parent
deb53a9359
commit
ba4c835983
3 changed files with 19 additions and 45 deletions
|
|
@ -83,9 +83,6 @@ export function PermissionGroups({ powerLevels, permissionGroups }: PermissionGr
|
|||
applyPermissionPower(draftPowerLevels, location, power)
|
||||
);
|
||||
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
delete draftPowerLevels['in.cinny.creators'];
|
||||
|
||||
return draftPowerLevels;
|
||||
});
|
||||
await mx.sendStateEvent(room.roomId, StateEvent.RoomPowerLevels as any, editedPowerLevels);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue