From bec048407a2c2128e4b94277bf587db4660d8406 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 12 Nov 2016 20:25:02 +0100 Subject: [PATCH] offer message correction in private convs --- .../java/eu/siacs/conversations/ui/ConversationFragment.java | 2 +- 1 file changed, 1 insertion(+), 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 62af0136c..271aa26cf 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()))) {