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
+9 -1
View File
@@ -54,10 +54,18 @@ fn turn(tag: &str, posted: &dyn Fn(u64) -> bool, wait: Duration) -> (Vec<String>
},
resume: false,
text: "go".to_string(),
senders: vec!["k0000000000000000000000000".to_string()],
};
let poster = Record::default();
let started = Instant::now();
deliver(&poster, &socket, &batch, &|_| {}, &Notice { posted, wait });
deliver(
&poster,
&socket,
&batch,
None,
&|_| {},
&Notice { posted, wait },
);
let took = started.elapsed();
(poster.0.into_inner().unwrap(), took)
}