Philipp Hörist pushed to branch master at gajim / gajim


Commits:
e0b809d4 by Philipp Hörist at 2024-07-17T22:32:52+02:00
cfix: OMEMO: Fix query arguments

- - - - -


1 changed file:

- gajim/common/storage/omemo.py


Changes:

=====================================
gajim/common/storage/omemo.py
=====================================
@@ -407,7 +407,7 @@ def remove_old_signed_pre_keys(self, timestamp: int) -> 
None:
                     ORDER BY timestamp desc LIMIT 3
                    )'''
 
-        self._con.execute(query, (timestamp,))
+        self._con.execute(query)
         self._con.commit()
 
     def load_session(self, recipient_id: str, device_id: int) -> SessionRecord:



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e0b809d4cde81bf3a6c77a0f093271ffc98d4e9a
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