[mirotalksfu] - add missing, fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2025-08-08 02:06:42 +02:00
الأصل 2879df4fe9
التزام ac7f7e7084
3 ملفات معدلة مع 19 إضافات و17 حذوفات

عرض الملف

@@ -36,6 +36,7 @@ const guestJoinRoomButton = document.getElementById('guestJoinRoomButton');
let BRAND = {
widget: {
enabled: false,
roomId: 'support-room',
theme: 'dark',
widgetState: 'minimized',
widgetType: 'support',
@@ -222,7 +223,7 @@ function customizeWidget() {
if (BRAND.widget?.enabled) {
if (typeof MiroTalkWidget !== 'undefined') {
const domain = window.location.host;
const roomId = 'support-room';
const roomId = BRAND.widget?.roomId || 'support-room';
const userName = 'guest-' + Math.floor(Math.random() * 10000);
new MiroTalkWidget(domain, roomId, userName, BRAND.widget);
} else {