[mirotalksfu] - Improve config.js.template, add .env.template, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2025-03-29 00:54:08 +01:00
الأصل 531b1342c5
التزام e3511513bc
19 ملفات معدلة مع 1594 إضافات و834 حذوفات

عرض الملف

@@ -20,12 +20,12 @@ class Mattermost {
password,
commands = '/sfu',
texts = '/sfu',
} = config.mattermost || {};
} = config.integrations.mattermost || {};
if (!enabled) return; // Check if Mattermost integration is enabled
this.app = app;
this.allowed = config.api.allowed && config.api.allowed.mattermost;
this.allowed = config.api?.allowed?.mattermost || false;
this.token = token;
this.serverUrl = serverUrl;
this.username = username;