don't always show userlist gear to moderators

This commit is contained in:
Chad Pilkey 2018-07-18 21:55:40 -07:00
parent 37967514b5
commit a27774ee86

View File

@ -204,7 +204,7 @@
var amIMod:Boolean = UsersUtil.amIModerator();
if (data != null) {
settingsBtn.visible = rolledOver && !UsersUtil.isBreakout() && (amIMod || options.allowUserLookup);
settingsBtn.visible = rolledOver && !UsersUtil.isBreakout() && ((amIMod && !data.me) || options.allowUserLookup);
if (!data.inVoiceConf) {
muteImg.visible = false;