From 1657d1a836cf998c88ff9550c6685ccacc6ea0e9 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 5 Apr 2019 14:20:56 +0200 Subject: [PATCH] Revert "Automatically enable store sent" This reverts commit 886e87198d2a68aa60aa53a177d6fd8bf3d94e51. --- app/src/main/java/eu/faircode/email/Core.java | 2 -- app/src/main/java/eu/faircode/email/DaoIdentity.java | 3 --- 2 files changed, 5 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 8a92db3406..a8d26c8c45 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -993,8 +993,6 @@ class Core { orphan.folder = folder.id; db.message().updateMessage(orphan); EntityOperation.queue(context, db, orphan, EntityOperation.ADD); - - db.identity().setIdentityStoreSent(orphan.identity, true); } } diff --git a/app/src/main/java/eu/faircode/email/DaoIdentity.java b/app/src/main/java/eu/faircode/email/DaoIdentity.java index a8f6d1d1bd..6320ddfb65 100644 --- a/app/src/main/java/eu/faircode/email/DaoIdentity.java +++ b/app/src/main/java/eu/faircode/email/DaoIdentity.java @@ -77,9 +77,6 @@ public interface DaoIdentity { @Query("UPDATE identity SET password = :password WHERE id = :id") int setIdentityPassword(long id, String password); - @Query("UPDATE identity SET store_sent = :store_sent WHERE id = :id") - int setIdentityStoreSent(long id, boolean store_sent); - @Query("UPDATE identity SET error = :error WHERE id = :id") int setIdentityError(long id, String error);