diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-11-11 23:28:02 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-11-11 23:28:02 +0100 |
commit | ed01efd705c1aaa5aea6b782706c600f14d301be (patch) | |
tree | fc0a0d1e359ee7253b406cb5d8abbbff45332cba /src | |
parent | f215117a83744bafef9caf66ed16f7bbaea79e22 (diff) |
don't offer message correction in anonymous mucs
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 3 |
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()))) { |