do not allow mods to kick or ban mods
This commit is contained in:
@@ -196,7 +196,10 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase
|
|||||||
}
|
}
|
||||||
UiSharedService.AttachToolTip(pair.Value != null && pair.Value.Value.IsModerator() ? "Demod user" : "Mod user");
|
UiSharedService.AttachToolTip(pair.Value != null && pair.Value.Value.IsModerator() ? "Demod user" : "Mod user");
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_isOwner || (pair.Value == null || (pair.Value != null && !pair.Value.Value.IsModerator())))
|
||||||
|
{
|
||||||
if (UiSharedService.NormalizedIconButton(FontAwesomeIcon.Thumbtack))
|
if (UiSharedService.NormalizedIconButton(FontAwesomeIcon.Thumbtack))
|
||||||
{
|
{
|
||||||
GroupUserInfo userInfo = pair.Value ?? GroupUserInfo.None;
|
GroupUserInfo userInfo = pair.Value ?? GroupUserInfo.None;
|
||||||
|
|||||||
Reference in New Issue
Block a user