When forwarding a message that is an impersonating message, the forwarder should not be impersonating

fix #2287
This commit is contained in:
Hocuri
2021-03-12 11:22:22 +01:00
parent 6963fd877d
commit 99b2d79312

View File

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