offer message correction in private convs

This commit is contained in:
Daniel Gultsch 2016-11-12 20:25:02 +01:00
parent fe62ef32ae
commit bec048407a

View file

@ -558,7 +558,7 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
} }
if (relevantForCorrection.getType() == Message.TYPE_TEXT if (relevantForCorrection.getType() == Message.TYPE_TEXT
&& relevantForCorrection.isLastCorrectableMessage() && relevantForCorrection.isLastCorrectableMessage()
&& m.getConversation().getMucOptions().nonanonymous()) { && (m.getConversation().getMucOptions().nonanonymous() || m.getConversation().getMode() == Conversation.MODE_SINGLE)) {
correctMessage.setVisible(true); correctMessage.setVisible(true);
} }
if (treatAsFile || (GeoHelper.isGeoUri(m.getBody()))) { if (treatAsFile || (GeoHelper.isGeoUri(m.getBody()))) {