Small fix

This commit is contained in:
M66B
2019-05-14 10:40:48 +02:00
parent 1764c52b2d
commit 86b55996f4
2 changed files with 26 additions and 17 deletions

View File

@@ -184,16 +184,17 @@ public class EntityOperation {
EntityAttachment.copy(context, message.id, tmpid);
}
// Cross account move
if (source.account.equals(target.account))
jargs.put(2, tmpid); // Can be null
else {
// Cross account move
if (message.raw != null && message.raw) {
name = ADD;
folder = target.id;
jargs = new JSONArray();
jargs.put(0, tmpid); // Can be null
jargs.put(1, autoread);
jargs.put(2, true); // Cross account
} else {
name = RAW;
jargs = new JSONArray();