huskies: merge 655_bug_matrix_bot_spawns_its_own_timerstore_instead_of_using_shared_appcontext_timer_store
This commit is contained in:
@@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user