From 3c932e9fa62d6cc71da3d5bd794c0488a7618591 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 14 Mar 2018 17:31:33 +0100 Subject: [PATCH] fixed pm to vistors --- .../eu/siacs/conversations/ui/ConferenceDetailsActivity.java | 2 +- src/main/res/values/themes.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java index b5d90f077..cd4441651 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java @@ -386,7 +386,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers } } else { MenuItem sendPrivateMessage = menu.findItem(R.id.send_private_message); - sendPrivateMessage.setVisible(user.getRole().ranks(MucOptions.Role.PARTICIPANT)); + sendPrivateMessage.setVisible(user.getRole().ranks(MucOptions.Role.VISITOR)); } } diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index ea20a7c4d..0488f4cfb 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -155,6 +155,8 @@