mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 09:56:35 +03:00
When forwarding a message that is an impersonating message, the forwarder should not be impersonating
fix #2287
This commit is contained in:
@@ -2768,6 +2768,7 @@ pub async fn forward_msgs(
|
|||||||
msg.param.remove(Param::GuaranteeE2ee);
|
msg.param.remove(Param::GuaranteeE2ee);
|
||||||
msg.param.remove(Param::ForcePlaintext);
|
msg.param.remove(Param::ForcePlaintext);
|
||||||
msg.param.remove(Param::Cmd);
|
msg.param.remove(Param::Cmd);
|
||||||
|
msg.param.remove(Param::OverrideSenderDisplayname);
|
||||||
|
|
||||||
let new_msg_id: MsgId;
|
let new_msg_id: MsgId;
|
||||||
if msg.state == MessageState::OutPreparing {
|
if msg.state == MessageState::OutPreparing {
|
||||||
|
|||||||
Reference in New Issue
Block a user