From e8cc959a7f249dd3cc0b92fcb599aa8b8005e064 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 11 Nov 2016 15:01:15 +0100 Subject: [PATCH] don't offer message correction in anonymous mucs --- .../java/eu/siacs/conversations/ui/ConversationFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index e6752839f..62af0136c 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -557,7 +557,8 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa retryDecryption.setVisible(true); } if (relevantForCorrection.getType() == Message.TYPE_TEXT - && relevantForCorrection.isLastCorrectableMessage()) { + && relevantForCorrection.isLastCorrectableMessage() + && m.getConversation().getMucOptions().nonanonymous()) { correctMessage.setVisible(true); } if (treatAsFile || (GeoHelper.isGeoUri(m.getBody()))) {