aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-11-11 23:28:02 +0100
committerChristian Schneppe <christian@pix-art.de>2016-11-11 23:28:02 +0100
commited01efd705c1aaa5aea6b782706c600f14d301be (patch)
treefc0a0d1e359ee7253b406cb5d8abbbff45332cba /src/main/java/de/pixart/messenger/ui
parentf215117a83744bafef9caf66ed16f7bbaea79e22 (diff)
don't offer message correction in anonymous mucs
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
index 82702a3c1..7cdbad31a 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -569,7 +569,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()))) {