Compare commits

...
Author SHA1 Message Date
link2xt ea27a43bde fix: set GuaranteeE2ee even if encryption is forced
Otherwise padlock will not appear.
2025-03-11 15:46:08 +00:00
+1 -1
View File
@@ -3110,7 +3110,7 @@ pub(crate) async fn create_send_msg_jobs(context: &Context, msg: &mut Message) -
}
}
if rendered_msg.is_encrypted && !needs_encryption {
if rendered_msg.is_encrypted {
msg.param.set_int(Param::GuaranteeE2ee, 1);
msg.update_param(context).await?;
}