Enable automatic call status under the User Status feature flag. (#5994)

This commit is contained in:
Doug
2026-08-07 18:26:54 +01:00
committed by GitHub
parent 03c434074a
commit e3be2981ff
@@ -310,6 +310,13 @@ class ClientProxy: ClientProxyProtocol {
mediaPreviewConfigListenerTaskHandle = await createMediaPreviewConfigObserver() mediaPreviewConfigListenerTaskHandle = await createMediaPreviewConfigObserver()
} }
if appSettings.userStatusEnabled {
Task {
guard case .success(true) = await isUserStatusSupported() else { return }
client.enableAutomaticCallStatus(enabled: true)
}
}
liveLocationOwnInfoUpdatesListenerTaskHandle = createLiveLocationOwnInfoUpdatesObserver() liveLocationOwnInfoUpdatesListenerTaskHandle = createLiveLocationOwnInfoUpdatesObserver()
} }