From a56c8d3562d50941126cb010459accd780198046 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sat, 25 Oct 2025 18:35:25 +0200 Subject: fix(filamento): get_message_history_with_users --- filamento/src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filamento') 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(( -- cgit