Optimization

This commit is contained in:
M66B
2023-09-04 15:38:05 +02:00
parent 9ca6034855
commit 224525d88e
6 changed files with 26 additions and 39 deletions

View File

@@ -7120,12 +7120,7 @@ public class FragmentCompose extends FragmentBase {
}
} else if (action == R.id.action_send) {
EntityFolder outbox = db.folder().getOutbox();
if (outbox == null) {
Log.w("Outbox missing");
outbox = EntityFolder.getOutbox();
outbox.id = db.folder().insertFolder(outbox);
}
EntityFolder outbox = EntityFolder.getOutbox(context);
// Delay sending message
if (draft.ui_snoozed == null && send_delayed != 0) {