diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-02-07 21:35:40 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-02-07 21:35:40 +0100 |
commit | a7332aace11116c82c45dbf77176d02280e480b9 (patch) | |
tree | d73ee01ab5697fe75596cbfeaa5892586d0e7938 /src/main | |
parent | a6b8b238f27534721f9051e8cc872d68092ee4af (diff) |
allow corrections in all mucs
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index 279dcb659..c5fd018e3 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -1298,8 +1298,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke && relevantForCorrection.getType() == Message.TYPE_TEXT && !m.isGeoUri() && relevantForCorrection.isLastCorrectableMessage() - && m.getConversation() instanceof Conversation - && (((Conversation) m.getConversation()).getMucOptions().nonanonymous() || m.getConversation().getMode() == Conversation.MODE_SINGLE)) { + && m.getConversation() instanceof Conversation) { correctMessage.setVisible(true); } if ((m.isFileOrImage() && !deleted && !receiving) || (m.getType() == Message.TYPE_TEXT && !m.treatAsDownloadable())) { |