From 113d9d9ce54528f1f0a782e867683074aaa43ee4 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Fri, 11 Apr 2025 06:20:52 +0100 Subject: feat(filamento): include chat jid with `MessageDelivery` `UpdateMessage` --- filamento/src/logic/online.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filamento/src/logic/online.rs') diff --git a/filamento/src/logic/online.rs b/filamento/src/logic/online.rs index 9e90676..1023b79 100644 --- a/filamento/src/logic/online.rs +++ b/filamento/src/logic/online.rs @@ -539,6 +539,7 @@ pub async fn handle_send_message(logic: &ClientLogic, .send(UpdateMessage::MessageDelivery { id, delivery: Delivery::Written, + chat: jid.clone(), }) .await; if mark_chat_as_chatted { @@ -556,6 +557,7 @@ pub async fn handle_send_message(logic: &ClientLogic, .send(UpdateMessage::MessageDelivery { id, delivery: Delivery::Failed, + chat: jid, }) .await; logic.handle_error(MessageSendError::Write(e).into()).await; -- cgit