diff options
| author | 2025-10-25 18:35:25 +0200 | |
|---|---|---|
| committer | 2025-10-25 18:35:25 +0200 | |
| commit | a56c8d3562d50941126cb010459accd780198046 (patch) | |
| tree | 9eb92ae0e4042b0782ba9edf3c1834687541435f /filamento/src | |
| parent | 1148a73b8880fbe7bba71b1159233fddc6f59ce0 (diff) | |
| download | luz-db-refactor.tar.gz luz-db-refactor.tar.bz2 luz-db-refactor.zip | |
fix(filamento): get_message_history_with_usersdb-refactor
Diffstat (limited to '')
| -rw-r--r-- | filamento/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filamento/src/db.rs b/filamento/src/db.rs index 0b94f0c..7a1307e 100644 --- a/filamento/src/db.rs +++ b/filamento/src/db.rs @@ -1651,7 +1651,7 @@ ORDER BY m.timestamp DESC", let messages = self .db .prepare( - "select id, primary_jid, delivery, timestamp, body, jid, nick, avatar from messages join users on jid = (select primary_jid from identities where id = from_identity) where chat_id = ? order by timestamp asc", + "select id, jid, delivery, timestamp, body, jid, nick, avatar from messages join users on jid = (select primary_jid from identities where id = from_identity) where chat_id = ? order by timestamp asc", )? .query_map([chat_id], |row| { Ok(( |
