aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-11-11 15:01:15 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-11-11 15:01:15 +0100
commite8cc959a7f249dd3cc0b92fcb599aa8b8005e064 (patch)
treedaf5bdac9fec362b0ba6ffb1707fedef31b3cad5 /src/main/java
parentbd578c59bfd45d5d4f5ad7b7a9ed85213765d985 (diff)
don't offer message correction in anonymous mucs
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationFragment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
index e6752839..62af0136 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()))) {