Update busd git dep to include control over whether channel conns skip hello

This commit is contained in:
Val Packett 2025-07-17 19:47:50 -03:00
parent 6428695a6b
commit e32d6746df
4 changed files with 16 additions and 13 deletions

View file

@ -48,10 +48,10 @@ impl HostedBus {
self.guid.inner()
}
pub async fn connect_channel(&mut self) -> eyre::Result<zbus::Connection> {
pub async fn connect_channel(&mut self, skip_hello: bool) -> eyre::Result<zbus::Connection> {
let id = self.next_id();
self.peers
.add_channel(&self.guid, id)
.add_channel(&self.guid, id, skip_hello)
.await
.map_err(|err| eyre::eyre!(Box::new(err))) // https://github.com/eyre-rs/eyre/issues/31 XXX: busd should not use anyhow!
}