do not show 'manage permissions' submenu when only 'remove from room' is visible

This commit is contained in:
Daniel Gultsch 2019-02-15 09:57:58 +01:00
parent 766cb8c088
commit d79768e923

View file

@ -93,7 +93,6 @@ public final class MucDetailsContextMenuHelper {
} }
} else { } else {
if (!Config.DISABLE_BAN || conversation.getMucOptions().membersOnly()) { if (!Config.DISABLE_BAN || conversation.getMucOptions().membersOnly()) {
managePermissionsVisible = true;
removeFromRoom.setVisible(true); removeFromRoom.setVisible(true);
} }
} }