ci: update Rust to 1.97.0

This commit is contained in:
link2xt
2026-07-12 10:20:42 +00:00
committed by l
parent 079fb352e3
commit 5adf7454ea
3 changed files with 3 additions and 4 deletions

View File

@@ -1794,8 +1794,7 @@ impl Chat {
}
let is_bot = context.get_config_bool(Config::Bot).await?;
msg.param
.set_optional(Param::Bot, Some("1").filter(|_| is_bot));
msg.param.set_optional(Param::Bot, is_bot.then_some("1"));
// Set "In-Reply-To:" to identify the message to which the composed message is a reply.
// Set "References:" to identify the "thread" of the conversation.