mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Store intermediate certificates
This commit is contained in:
@@ -32,7 +32,7 @@ public interface DaoCertificate {
|
||||
List<EntityCertificate> getCertificates();
|
||||
|
||||
@Query("SELECT * FROM certificate" +
|
||||
" ORDER BY email, subject")
|
||||
" ORDER BY intermediate, email, subject")
|
||||
LiveData<List<EntityCertificate>> liveCertificates();
|
||||
|
||||
@Query("SELECT * FROM certificate" +
|
||||
@@ -44,6 +44,10 @@ public interface DaoCertificate {
|
||||
" WHERE email = :email COLLATE NOCASE")
|
||||
List<EntityCertificate> getCertificateByEmail(String email);
|
||||
|
||||
@Query("SELECT * FROM certificate" +
|
||||
" WHERE intermediate")
|
||||
List<EntityCertificate> getIntermediateCertificate();
|
||||
|
||||
@Insert
|
||||
long insertCertificate(EntityCertificate certificate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user