A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
feat(voice): enable web camera background effects (#2408)
Hampus2b12f5db6cdf
diff --git a/fluxer_app/src/features/voice/utils/VoiceBackgroundAvailability.ts b/fluxer_app/src/features/voice/utils/VoiceBackgroundAvailability.tsindex c58f84026..0db20c557 100644--- a/fluxer_app/src/features/voice/utils/VoiceBackgroundAvailability.ts+++ b/fluxer_app/src/features/voice/utils/VoiceBackgroundAvailability.ts@@ -1,5 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import {webCameraSegmentationRuntimeAvailable} from '@app/features/voice/utils/camera-effects/WebCameraBackgroundSupport';+export function areVoiceBackgroundsAvailable(): boolean {- return false;+ return webCameraSegmentationRuntimeAvailable();}