1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Small improvement

This commit is contained in:
M66B 2020-11-29 12:50:39 +01:00
parent 7be0775876
commit bf48d91a19

View file

@ -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)")