mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Added notes color
This commit is contained in:
@@ -732,8 +732,11 @@ public interface DaoMessage {
|
||||
" OR NOT (warning IS :warning))")
|
||||
int setMessageContent(long id, boolean content, String language, Boolean plain_only, String preview, String warning);
|
||||
|
||||
@Query("UPDATE message SET notes = :notes WHERE id = :id AND NOT (notes IS :notes)")
|
||||
int setMessageNotes(long id, String notes);
|
||||
@Query("UPDATE message" +
|
||||
" SET notes = :notes, notes_color = :color" +
|
||||
" WHERE id = :id" +
|
||||
" AND NOT (notes IS :notes AND notes_color IS :color)")
|
||||
int setMessageNotes(long id, String notes, Integer color);
|
||||
|
||||
@Query("UPDATE message" +
|
||||
" SET size = :size, total = :total" +
|
||||
|
||||
Reference in New Issue
Block a user