mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 11:25:13 +01:00
Index notes
This commit is contained in:
@@ -835,7 +835,7 @@ public interface DaoMessage {
|
||||
int setMessageContent(long id, boolean content, String language, Integer plain_only, String preview, String warning);
|
||||
|
||||
@Query("UPDATE message" +
|
||||
" SET notes = :notes, notes_color = :color" +
|
||||
" SET notes = :notes, notes_color = :color, fts = 0" +
|
||||
" WHERE id = :id" +
|
||||
" AND NOT (notes IS :notes AND notes_color IS :color)")
|
||||
int setMessageNotes(long id, String notes, Integer color);
|
||||
|
||||
Reference in New Issue
Block a user