Browse Source

Fixed send operation

main
M66B 6 years ago
parent
commit
884ce9870a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/EntityOperation.java

+ 1
- 1
app/src/main/java/eu/faircode/email/EntityOperation.java View File

@ -99,7 +99,7 @@ public class EntityOperation {
operation.id = db.operation().insertOperation(operation); operation.id = db.operation().insertOperation(operation);
Intent intent = new Intent(); Intent intent = new Intent();
intent.setType("account/" + (message.account == null ? "outbox" : message.account));
intent.setType("account/" + (SEND.equals(name) ? "outbox" : message.account));
intent.setAction(ServiceSynchronize.ACTION_PROCESS_OPERATIONS); intent.setAction(ServiceSynchronize.ACTION_PROCESS_OPERATIONS);
intent.putExtra("folder", message.folder); intent.putExtra("folder", message.folder);


Loading…
Cancel
Save