api!: remove Chat.is_protected()

This commit is contained in:
link2xt
2025-08-19 22:28:30 +00:00
parent 498a831873
commit b417ba86bc
17 changed files with 55 additions and 165 deletions

View File

@@ -1013,7 +1013,7 @@ impl TestContext {
};
writeln!(
res,
"{}#{}: {} [{}]{}{}{} {}",
"{}#{}: {} [{}]{}{}{}",
sel_chat.typ,
sel_chat.get_id(),
sel_chat.get_name(),
@@ -1031,11 +1031,6 @@ impl TestContext {
},
_ => "".to_string(),
},
if sel_chat.is_protected() {
"🛡️"
} else {
""
},
)
.unwrap();