mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Local messages cannot be set to read/unread
This commit is contained in:
parent
411f6741a0
commit
6cb8ca4249
1 changed files with 4 additions and 1 deletions
|
@ -2691,7 +2691,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
boolean doubletap = prefs.getBoolean("doubletap", false);
|
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);
|
lbm.sendBroadcast(viewThread);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue