allow corrections in all mucs
This commit is contained in:
parent
ad64058d25
commit
b648c482f3
|
@ -1078,8 +1078,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
||||||
&& relevantForCorrection.getType() == Message.TYPE_TEXT
|
&& relevantForCorrection.getType() == Message.TYPE_TEXT
|
||||||
&& !m.isGeoUri()
|
&& !m.isGeoUri()
|
||||||
&& relevantForCorrection.isLastCorrectableMessage()
|
&& relevantForCorrection.isLastCorrectableMessage()
|
||||||
&& m.getConversation() instanceof Conversation
|
&& m.getConversation() instanceof Conversation) {
|
||||||
&& (((Conversation) m.getConversation()).getMucOptions().nonanonymous() || m.getConversation().getMode() == Conversation.MODE_SINGLE)) {
|
|
||||||
correctMessage.setVisible(true);
|
correctMessage.setVisible(true);
|
||||||
}
|
}
|
||||||
if ((m.isFileOrImage() && !deleted && !receiving) || (m.getType() == Message.TYPE_TEXT && !m.treatAsDownloadable())) {
|
if ((m.isFileOrImage() && !deleted && !receiving) || (m.getType() == Message.TYPE_TEXT && !m.treatAsDownloadable())) {
|
||||||
|
|
Loading…
Reference in New Issue