Revert "Fixed send debug info immediately"

This reverts commit 6123df206d.
pull/214/head
M66B 1 year ago
parent da5d3e9aa9
commit 518ca768d1

@ -2280,10 +2280,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
db.beginTransaction(); db.beginTransaction();
EntityMessage draft = db.message().getMessage(id); EntityMessage draft = db.message().getMessage(id);
EntityIdentity primary = db.identity().getPrimaryIdentity(); if (draft != null) {
if (draft != null && primary != null) {
draft.folder = EntityFolder.getOutbox(context).id; draft.folder = EntityFolder.getOutbox(context).id;
draft.identity = primary.id;
db.message().updateMessage(draft); db.message().updateMessage(draft);
EntityOperation.queue(context, draft, EntityOperation.SEND); EntityOperation.queue(context, draft, EntityOperation.SEND);

Loading…
Cancel
Save