gatewayd: a turn's speaker, the username of the one person who wrote its burst

Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
2026-09-28 10:51:17 -07:00
co-authored by ornith-1.5-35b-a3b
parent 4866353ac9
commit fae12c3fe2
12 changed files with 503 additions and 15 deletions
+3
View File
@@ -19,6 +19,7 @@ use tmp::TempDir;
const DM: &str = "d0000000000000000000000000";
const ROOT: &str = "r0000000000000000000000000";
const KYLE: &str = "k0000000000000000000000000";
#[derive(Default)]
struct Record {
@@ -59,6 +60,7 @@ fn batch(resume: bool, text: &str) -> Batch {
},
resume,
text: text.to_string(),
senders: vec![KYLE.to_string()],
}
}
@@ -73,6 +75,7 @@ fn run(dir: &TempDir, poster: &Record, batch: &Batch) -> Vec<String> {
poster,
&dir.path().join("loop.sock"),
batch,
None,
&|line| log.lock().unwrap().push(line.to_string()),
&notice,
);