Fix avatar info moderate menu

This commit is contained in:
Bill 2022-03-21 02:42:43 -04:00
parent 6e4c5e26b7
commit d9f08ede7c

View File

@ -732,7 +732,7 @@ export class RoomWidgetInfostandHandler extends RoomWidgetHandler
if(moderation) flag = checkSetting(event, moderation); if(moderation) flag = checkSetting(event, moderation);
return (flag && (event.roomControllerLevel < RoomControllerLevel.ROOM_OWNER)); return (flag && (event.targetRoomControllerLevel < RoomControllerLevel.ROOM_OWNER));
} }
public get type(): string public get type(): string