Local messages cannot be set to read/unread

This commit is contained in:
M66B 2020-04-16 14:44:40 +02:00
parent 411f6741a0
commit 6cb8ca4249
1 changed files with 4 additions and 1 deletions

View File

@ -2691,7 +2691,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean doubletap = prefs.getBoolean("doubletap", false);
if (!doubletap || message.folderReadOnly || EntityFolder.OUTBOX.equals(message.folderType)) {
if (!doubletap ||
message.folderReadOnly ||
(message.uid == null && message.accountProtocol == EntityAccount.TYPE_IMAP) ||
EntityFolder.OUTBOX.equals(message.folderType)) {
lbm.sendBroadcast(viewThread);
return;
}