From 1e5d4b504901bbd8fbf884e0f006d5717e1bc88c Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Fri, 11 Apr 2025 06:51:03 +0100 Subject: feat(filamento): `get_messages_with_users()` --- filamento/src/logic/local_only.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'filamento/src/logic/local_only.rs') diff --git a/filamento/src/logic/local_only.rs b/filamento/src/logic/local_only.rs index cabbef4..9db9d4d 100644 --- a/filamento/src/logic/local_only.rs +++ b/filamento/src/logic/local_only.rs @@ -42,6 +42,13 @@ pub async fn handle_get_messages( Ok(logic.db().read_message_history(jid).await?) } +pub async fn handle_get_messages_with_users( + logic: &ClientLogic, + jid: JID, +) -> Result, DatabaseError> { + Ok(logic.db().read_message_history_with_users(jid).await?) +} + pub async fn handle_delete_chat( logic: &ClientLogic, jid: JID, -- cgit