huskies: merge 655_bug_matrix_bot_spawns_its_own_timerstore_instead_of_using_shared_appcontext_timer_store

This commit is contained in:
dave
2026-04-27 11:28:21 +00:00
parent ac85cfce5d
commit 65d2fb210c
4 changed files with 14 additions and 10 deletions
+4
View File
@@ -409,6 +409,9 @@ pub fn spawn_gateway_bot(
status: std::sync::Arc::new(crate::service::status::StatusBroadcaster::new()),
});
let timer_store = std::sync::Arc::new(crate::service::timer::TimerStore::load(
config_dir.join(".huskies").join("timers.json"),
));
crate::chat::transport::matrix::spawn_bot(
config_dir,
watcher_tx,
@@ -417,5 +420,6 @@ pub fn spawn_gateway_bot(
Some(active_project),
gateway_projects,
gateway_project_urls,
timer_store,
)
}