mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-19 05:46:27 +01:00
Fix avatar info moderate menu
This commit is contained in:
parent
6e4c5e26b7
commit
d9f08ede7c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user