| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-24 18:38:30 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-06-24 18:38:30 UTC |
| parent | 8cf69f42fe31df86929992c2d443e1e41810d438 |
| snikket/persistence/Sqlite.hx | +1 | -0 |
diff --git a/snikket/persistence/Sqlite.hx b/snikket/persistence/Sqlite.hx index 5cd0709..322f301 100644 --- a/snikket/persistence/Sqlite.hx +++ b/snikket/persistence/Sqlite.hx @@ -302,6 +302,7 @@ class Sqlite implements Persistence implements KeyValueStore { } (if (chatIds.length > 0 && localIds.length > 0) { + // Hmm, this loses the original timestamp though final q = new StringBuf(); q.add("DELETE FROM messages WHERE account_id=? AND direction=? AND chat_id IN ("); q.add(chatIds.map(_ -> "?").join(","));