From e3be2981ffaa9aa62a9a06f711f52250d48326ba Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Fri, 7 Aug 2026 18:26:54 +0100 Subject: [PATCH] Enable automatic call status under the User Status feature flag. (#5994) --- ElementX/Sources/Services/Client/ClientProxy.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ElementX/Sources/Services/Client/ClientProxy.swift b/ElementX/Sources/Services/Client/ClientProxy.swift index 55f273299..798dbef54 100644 --- a/ElementX/Sources/Services/Client/ClientProxy.swift +++ b/ElementX/Sources/Services/Client/ClientProxy.swift @@ -310,6 +310,13 @@ class ClientProxy: ClientProxyProtocol { mediaPreviewConfigListenerTaskHandle = await createMediaPreviewConfigObserver() } + if appSettings.userStatusEnabled { + Task { + guard case .success(true) = await isUserStatusSupported() else { return } + client.enableAutomaticCallStatus(enabled: true) + } + } + liveLocationOwnInfoUpdatesListenerTaskHandle = createLiveLocationOwnInfoUpdatesObserver() }