Fixed updating messages

pull/215/head
M66B 6 months ago
parent 89b3052cbc
commit 5b03fc0072

@ -8304,7 +8304,7 @@ public class FragmentMessages extends FragmentBase
Log.i("Move id=" + target.id + " target=" + target.targetFolder.name); Log.i("Move id=" + target.id + " target=" + target.targetFolder.name);
db.message().setMessageUiBusy(target.id, null); db.message().setMessageUiBusy(target.id, null);
db.message().setMessageLastAttempt(target.id, null); db.message().setMessageLastAttempt(target.id, new Date().getTime());
EntityOperation.queue(context, message, EntityOperation.MOVE, target.targetFolder.id); EntityOperation.queue(context, message, EntityOperation.MOVE, target.targetFolder.id);
} }
@ -8338,7 +8338,7 @@ public class FragmentMessages extends FragmentBase
db.message().setMessageUiBusy(target.id, null); db.message().setMessageUiBusy(target.id, null);
db.message().setMessageUiHide(target.id, false); db.message().setMessageUiHide(target.id, false);
db.message().setMessageFound(target.id, target.found); db.message().setMessageFound(target.id, target.found);
db.message().setMessageLastAttempt(target.id, null); db.message().setMessageLastAttempt(target.id, new Date().getTime());
} }
db.setTransactionSuccessful(); db.setTransactionSuccessful();

Loading…
Cancel
Save