Reset outbox on boot

pull/185/head
M66B 4 years ago
parent df5f6314b2
commit f9983ead6f

@ -710,6 +710,10 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
int operations = db.operation().getOperations(outbox.id).size();
if (operations > 0)
start(context);
else {
db.folder().setFolderState(outbox.id, null);
db.folder().setFolderSyncState(outbox.id, null);
}
}
} catch (Throwable ex) {
Log.e(ex);

Loading…
Cancel
Save