fix
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
2024-04-14 05:01:33 +09:00
parent 57eb0efcbb
commit b0ceeec47d
2 changed files with 5 additions and 1 deletions

View File

@ -542,6 +542,10 @@ pub fn c_bot_feed(c: &Context) {
if !n[i].post.record.text.is_none() {
text = &n[i].post.record.text.as_ref().unwrap();
}
//let mut reason = false;
//if !n[i].post.record.reply.is_none() {
// reason = true;
//}
let vec: Vec<&str> = text.split_whitespace().collect();
let handlev: Vec<&str> = handle.split('.').collect();
let mut handlev = handlev[0].trim().to_string();