don't offer message correction in anonymous mucs

This commit is contained in:
Daniel Gultsch 2016-11-11 15:01:15 +01:00
parent bd578c59bf
commit e8cc959a7f

View file

@ -557,7 +557,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()))) {