From 814c2e32e43757716dcdc5f1b213227827071426 Mon Sep 17 00:00:00 2001 From: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> Date: Wed, 3 Jun 2026 09:15:31 +0530 Subject: [PATCH] chore: patch minFaces and realtimeTranscoding (#28784) Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> --- mobile/lib/utils/openapi_patching.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile/lib/utils/openapi_patching.dart b/mobile/lib/utils/openapi_patching.dart index 38c805a42e..cbd6c2bcce 100644 --- a/mobile/lib/utils/openapi_patching.dart +++ b/mobile/lib/utils/openapi_patching.dart @@ -19,6 +19,7 @@ dynamic upgradeDto(dynamic value, String targetType) { if (value is Map) { addDefault(value, 'mapLightStyleUrl', 'https://tiles.immich.cloud/v1/style/light.json'); addDefault(value, 'mapDarkStyleUrl', 'https://tiles.immich.cloud/v1/style/dark.json'); + addDefault(value, 'minFaces', 3); } case 'UserResponseDto': if (value is Map) { @@ -54,6 +55,7 @@ dynamic upgradeDto(dynamic value, String targetType) { case 'ServerFeaturesDto': if (value is Map) { addDefault(value, 'ocr', false); + addDefault(value, 'realtimeTranscoding', false); } break; case 'MemoriesResponse':