1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 09:17:58 +00:00

Small fix

This commit is contained in:
M66B 2019-11-18 12:00:44 +01:00
parent 75e4b56ca1
commit 1b960555a2

View file

@ -1812,10 +1812,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
List<EntityMessage> messages = db.message().getMessagesByThread(
message.account, message.thread, threading ? null : id, null);
for (EntityMessage threaded : messages) {
if (threaded.ui_seen)
result.seen = true;
else
result.unseen = true;
if (threaded.folder.equals(message.folder))
if (threaded.ui_seen)
result.seen = true;
else
result.unseen = true;
if (threaded.ui_flagged)
result.flagged = true;