aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-11-12 20:25:02 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-11-12 20:25:02 +0100
commitbec048407a2c2128e4b94277bf587db4660d8406 (patch)
treedbd5a4389707832d92a124068a127e9453aee105
parentfe62ef32aedc0d630a50cd9a92d9b2cbaa969b23 (diff)
offer message correction in private convs
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationFragment.java2
1 files changed, 1 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 62af0136..271aa26c 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
@@ -558,7 +558,7 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
}
if (relevantForCorrection.getType() == Message.TYPE_TEXT
&& relevantForCorrection.isLastCorrectableMessage()
- && m.getConversation().getMucOptions().nonanonymous()) {
+ && (m.getConversation().getMucOptions().nonanonymous() || m.getConversation().getMode() == Conversation.MODE_SINGLE)) {
correctMessage.setVisible(true);
}
if (treatAsFile || (GeoHelper.isGeoUri(m.getBody()))) {