From d79768e923fc918ae3b634af77673d854b677384 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 15 Feb 2019 09:57:58 +0100 Subject: [PATCH] do not show 'manage permissions' submenu when only 'remove from room' is visible --- .../siacs/conversations/ui/util/MucDetailsContextMenuHelper.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/util/MucDetailsContextMenuHelper.java b/src/main/java/eu/siacs/conversations/ui/util/MucDetailsContextMenuHelper.java index edf1d6593..dc1f9cea0 100644 --- a/src/main/java/eu/siacs/conversations/ui/util/MucDetailsContextMenuHelper.java +++ b/src/main/java/eu/siacs/conversations/ui/util/MucDetailsContextMenuHelper.java @@ -93,7 +93,6 @@ public final class MucDetailsContextMenuHelper { } } else { if (!Config.DISABLE_BAN || conversation.getMucOptions().membersOnly()) { - managePermissionsVisible = true; removeFromRoom.setVisible(true); } }