From 99b2d7931230ddbf61854db81ed2848d95a4e0d3 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Fri, 12 Mar 2021 11:22:22 +0100 Subject: [PATCH] When forwarding a message that is an impersonating message, the forwarder should not be impersonating fix #2287 --- src/chat.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chat.rs b/src/chat.rs index c672fea58..9f7021f11 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -2768,6 +2768,7 @@ pub async fn forward_msgs( msg.param.remove(Param::GuaranteeE2ee); msg.param.remove(Param::ForcePlaintext); msg.param.remove(Param::Cmd); + msg.param.remove(Param::OverrideSenderDisplayname); let new_msg_id: MsgId; if msg.state == MessageState::OutPreparing {