mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Small improvement
This commit is contained in:
@@ -587,7 +587,7 @@ public interface DaoMessage {
|
||||
int updateMessage(EntityMessage message);
|
||||
|
||||
@Query("UPDATE message SET thread = :thread" +
|
||||
" WHERE account = :account AND thread = :old AND NOT (thread IS :thread)")
|
||||
" WHERE account = :account AND thread = :old AND NOT (:old IS :thread)")
|
||||
int updateMessageThread(long account, String old, String thread);
|
||||
|
||||
@Query("UPDATE message SET uid = :uid WHERE id = :id AND NOT (uid IS :uid)")
|
||||
|
||||
Reference in New Issue
Block a user