[fix-caption-locale-subscription] - hasCaption will now search for the active caption locales.

This commit is contained in:
Guilherme Leme 2024-06-14 16:24:12 -03:00
parent 284753e6b9
commit cb38192b6b

View File

@ -2080,10 +2080,5 @@ select "meeting"."meetingId",
select 1
from "v_caption_activeLocales"
where "v_caption_activeLocales"."meetingId" = "meeting"."meetingId"
) or exists (
select 1
from "v_user"
where "v_user"."meetingId" = "meeting"."meetingId"
and NULLIF("speechLocale",'') is not null
) as "hasCaption"
from "meeting";