Daniel Brötzmann pushed to branch storage at gajim / gajim


Commits:
80ae3870 by wurstsalat at 2023-07-23T22:22:59+02:00
Archive: Search within message corrections

- - - - -


1 changed file:

- gajim/common/storage/archive/storage.py


Changes:

=====================================
gajim/common/storage/archive/storage.py
=====================================
@@ -529,7 +529,8 @@ def search_archive(self,
             {GET_CONVERSATION_STMT}
             {contact_stmt}
             {users_query_stmt}
-            message.message LIKE like(?) AND
+            IFNULL(correction.corrected_message, message.message)
+            LIKE like(?) AND
             message.timestamp BETWEEN ? AND ?
             ORDER BY message.timestamp DESC, message.entitykey
             '''



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/80ae387040ec92b0c6af795f5663498b2ea601f4

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/80ae387040ec92b0c6af795f5663498b2ea601f4
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to