1
0
Fork 1

Revert "Remove redundant message deletion menu"

This reverts commit d4771af8ee.
This commit is contained in:
12aw 2024-01-04 22:23:17 +01:00
parent 599d6e44dc
commit e3284a00b0

View file

@ -1957,7 +1957,7 @@ public class ConversationFragment extends XmppFragment
final boolean unInitiatedButKnownSize = MessageUtils.unInitiatedButKnownSize(m);
final boolean showError = m.getStatus() == Message.STATUS_SEND_FAILED && m.getErrorMessage() != null && !Message.ERROR_MESSAGE_CANCELLED.equals(m.getErrorMessage());
final boolean messageDeleted = m.isMessageDeleted();
deleteMessage.setVisible(false); //TODO: Set visible again when needed
deleteMessage.setVisible(true);
if (!encrypted && !m.getBody().equals("")) {
copyMessage.setVisible(true);
quoteMessage.setVisible(!showError && MessageUtils.prepareQuote(m).length() > 0);