feat: auto-accept matrix room invites in hive-matrix-daemon

This commit is contained in:
atlas 2026-06-03 22:06:35 +02:00 committed by mara
commit c5b35fb5fa
2 changed files with 58 additions and 1 deletions

View file

@ -61,7 +61,8 @@ async fn main() -> Result<()> {
.await
.context("build matrix client")?;
timeline::install_message_handler(&matrix_client, hyperhive_socket);
timeline::install_message_handler(&matrix_client, hyperhive_socket.clone());
timeline::install_invite_handler(&matrix_client, hyperhive_socket);
// Spawn the unix socket server before sync starts so the MCP
// bridge can connect as soon as the first claude turn fires. The