mirror of https://github.com/M66B/FairEmail.git
Automatically enable store sent
This commit is contained in:
parent
91c2c2a01a
commit
886e87198d
|
@ -941,6 +941,8 @@ class Core {
|
|||
orphan.folder = folder.id;
|
||||
db.message().updateMessage(orphan);
|
||||
EntityOperation.queue(context, db, orphan, EntityOperation.ADD);
|
||||
|
||||
db.identity().setIdentityStoreSent(orphan.identity, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -77,6 +77,9 @@ 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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue