refactor: deprecate Param::ErroneousE2ee

This commit is contained in:
link2xt
2024-12-25 01:42:57 +00:00
committed by l
parent 21664125d7
commit 779635d73b
3 changed files with 3 additions and 10 deletions

View File

@@ -1991,9 +1991,6 @@ impl Chat {
.ok();
}
// reset encrypt error state eg. for forwarding
msg.param.remove(Param::ErroneousE2ee);
let is_bot = context.get_config_bool(Config::Bot).await?;
msg.param
.set_optional(Param::Bot, Some("1").filter(|_| is_bot));