Fixed marking seen on moving thread by rule

This commit is contained in:
M66B 2019-06-12 19:50:44 +02:00
parent 805a8cc559
commit 4072367812
1 changed files with 4 additions and 1 deletions

View File

@ -252,10 +252,13 @@ public class EntityRule {
message.account, message.thread, thread ? null : message.id, message.folder);
for (EntityMessage threaded : messages) {
if (seen)
onActionSeen(context, threaded, true);
EntityOperation.queue(context, threaded, EntityOperation.SEEN, seen);
EntityOperation.queue(context, threaded, EntityOperation.MOVE, target, false);
}
if (seen)
message.seen = true;
}
private void onActionCopy(Context context, EntityMessage message, JSONObject jargs) throws JSONException {