mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-18 21:18:12 +02:00
Hide inline attachments while composing
This commit is contained in:
@@ -30,8 +30,9 @@ import androidx.room.Query;
|
||||
public interface DaoAttachment {
|
||||
@Query("SELECT * FROM attachment" +
|
||||
" WHERE message = :message" +
|
||||
" AND (:inline OR disposition <> 'inline')" +
|
||||
" ORDER BY sequence")
|
||||
LiveData<List<EntityAttachment>> liveAttachments(long message);
|
||||
LiveData<List<EntityAttachment>> liveAttachments(long message, boolean inline);
|
||||
|
||||
@Query("SELECT ifnull(MAX(sequence), 0)" +
|
||||
" FROM attachment" +
|
||||
|
||||
Reference in New Issue
Block a user