From 56b2361f01e9de9f3bfa262865a8fdd134e22f7a Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Mon, 25 Sep 2023 15:27:02 +0200 Subject: [PATCH] reset document.update on forwarding this fixes the test test_forward_webxdc_instance() --- src/chat.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chat.rs b/src/chat.rs index 5f4fcfe44..378456819 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -3528,6 +3528,8 @@ pub async fn forward_msgs(context: &Context, msg_ids: &[MsgId], chat_id: ChatId) msg.param.remove(Param::ForcePlaintext); msg.param.remove(Param::Cmd); msg.param.remove(Param::OverrideSenderDisplayname); + msg.param.remove(Param::WebxdcDocument); + msg.param.remove(Param::WebxdcDocumentTimestamp); msg.param.remove(Param::WebxdcSummary); msg.param.remove(Param::WebxdcSummaryTimestamp); msg.in_reply_to = None;