[mirotalksfu] - fix widget checkOnlineStatus, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2025-11-08 21:52:59 +01:00
الأصل 6e99fc9517
التزام 8d23a5fd94
8 ملفات معدلة مع 120 إضافات و112 حذوفات

عرض الملف

@@ -708,7 +708,7 @@
}
try {
const response = await fetch(`https://${CONFIG.domain}/isRoomActive`, {
const response = await fetch(`https://${CONFIG.domain}/isWidgetRoomActive`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ roomId: CONFIG.roomId }),
@@ -719,7 +719,7 @@
}
const data = await response.json();
const online = data.message && data.message !== 'Unauthorized';
const online = data.message;
this.updateStatus(online);
} catch (error) {
console.warn('Failed to check room status:', error.message);