rustfmt chathistory TARGETS

This commit is contained in:
Jean Chevronnet 2026-08-08 21:36:12 +00:00
parent ea31e3faa2
commit 6d57a9a4e8

View file

@ -187,7 +187,10 @@ impl Command for ChatHistory {
};
if key.starts_with('#') {
if s.is_member(uid, key) {
let name = buf.back().map(|m| m.target.clone()).unwrap_or_else(|| key.clone());
let name = buf
.back()
.map(|m| m.target.clone())
.unwrap_or_else(|| key.clone());
targets.push((name, ts));
}
} else if let Some(rest) = key.strip_prefix('\0') {