daemon/user: Add empty state to context

This commit is contained in:
Vicki Pfau 2025-07-14 15:34:01 -07:00
parent 85e0f8c52b
commit 45fa0cca2b

View file

@ -47,6 +47,7 @@ pub(crate) struct UserServicesState {}
pub(crate) struct UserContext {
session: Connection,
state: UserState,
}
impl DaemonContext for UserContext {
@ -170,6 +171,7 @@ pub async fn daemon() -> Result<()> {
let context = UserContext {
session: session.clone(),
state: UserState::default(),
};
let mut daemon = Daemon::new(system, rx).await?;