fix: do not show error when love recording not available (#9852)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2025-09-15 11:53:27 +07:00
committed by GitHub
parent f91144c92b
commit b97ad1c8e7
+3 -1
View File
@@ -717,10 +717,12 @@ async function checkRecordAvailable (): Promise<void> {
setTimeout(() => {
void checkRecordAvailable()
}, 500)
} else {
} else if (endpoint !== '') {
const res = await fetch(concatLink(endpoint, '/checkRecordAvailable'))
const result = await res.json()
isRecordingAvailable.set(result)
} else {
console.info('office recording is not configured')
}
} catch (err: any) {
Analytics.handleError(err)