reset document.update on forwarding

this fixes the test test_forward_webxdc_instance()
This commit is contained in:
B. Petersen
2023-09-25 15:27:02 +02:00
committed by link2xt
parent 968cc65323
commit 56b2361f01

View File

@@ -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;