mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Fixed saving drafts with selected identity
This commit is contained in:
@@ -48,6 +48,9 @@ public interface DaoIdentity {
|
||||
@Query("SELECT * FROM identity WHERE id = :id")
|
||||
LiveData<EntityIdentity> liveIdentity(long id);
|
||||
|
||||
@Query("SELECT * FROM identity WHERE account = :account AND `primary`")
|
||||
EntityIdentity getPrimaryIdentity(long account);
|
||||
|
||||
@Insert
|
||||
long insertIdentity(EntityIdentity identity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user