Small tweaks to the Presence feature. (#5918)

This commit is contained in:
Doug
2026-07-23 08:40:48 +01:00
committed by GitHub
parent 1770e1d815
commit bf498a5d18
3 changed files with 24 additions and 43 deletions
@@ -1285,8 +1285,8 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
return
}
// State-only (no HTTP): configure the background-refresh sync to carry set_presence=offline so it never
// reuses the client's foreground sync presence and marks the user online or idle.
// Configure the background-refresh sync to carry set_presence=offline so it doesn't mark the
// user online or idle. Note: If already online/idle then setting offline shouldn't override that.
_ = await userSession.clientProxy.configurePresence(.offline, sendImmediately: false)
await resumeClientServices()