mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Enable automatic call status under the User Status feature flag. (#5994)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user