[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2023-11-24 09:37:49 +01:00
الأصل e9ef3d1800
التزام fb5e5938af
4 ملفات معدلة مع 17 إضافات و15 حذوفات

عرض الملف

@@ -494,11 +494,11 @@ function startServer() {
const tunnel = pu0.startsWith('https') ? pu0 : pu1; const tunnel = pu0.startsWith('https') ? pu0 : pu1;
log.info('Listening on', { log.info('Listening on', {
node_version: process.versions.node, node_version: process.versions.node,
hostConfig: hostCfg,
presenters: config.presenters,
announced_ip: announcedIP, announced_ip: announcedIP,
server: host, server: host,
server_tunnel: tunnel, server_tunnel: tunnel,
hostConfig: hostCfg,
presenters: config.presenters,
api_docs: api_docs, api_docs: api_docs,
mediasoup_worker_bin: mediasoup.workerBin, mediasoup_worker_bin: mediasoup.workerBin,
mediasoup_server_version: mediasoup.version, mediasoup_server_version: mediasoup.version,
@@ -540,11 +540,11 @@ function startServer() {
} }
log.info('Settings', { log.info('Settings', {
node_version: process.versions.node, node_version: process.versions.node,
hostConfig: hostCfg,
presenters: config.presenters,
announced_ip: announcedIP, announced_ip: announcedIP,
server: host, server: host,
api_docs: api_docs, api_docs: api_docs,
hostConfig: hostCfg,
presenters: config.presenters,
mediasoup_worker_bin: mediasoup.workerBin, mediasoup_worker_bin: mediasoup.workerBin,
mediasoup_server_version: mediasoup.version, mediasoup_server_version: mediasoup.version,
mediasoup_client_version: mediasoupClient.version, mediasoup_client_version: mediasoupClient.version,

عرض الملف

@@ -106,7 +106,7 @@
/* Chat app people list container */ /* Chat app people list container */
.chat-app .chat-list { .chat-app .chat-list {
height: 550px; height: auto;
/* border: 1px solid lime; */ /* border: 1px solid lime; */
} }
@@ -170,10 +170,9 @@
/* Chat history */ /* Chat history */
.chat .chat-history { .chat .chat-history {
padding: 20px; padding: 20px;
min-height: 500px; min-height: 490px;
max-height: 500px; max-height: 490px;
border-bottom: var(--border); border-bottom: var(--border);
overflow-x: auto;
/* border: 1px solid lime; */ /* border: 1px solid lime; */
} }

عرض الملف

@@ -84,6 +84,7 @@
html, html,
body { body {
top: 0 !important; top: 0 !important;
margin: 0 !important;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;

عرض الملف

@@ -2991,15 +2991,15 @@ class RoomClient {
chat.style.marginLeft = isParticipantsListHidden ? 0 : '300px'; chat.style.marginLeft = isParticipantsListHidden ? 0 : '300px';
chat.style.borderLeft = isParticipantsListHidden ? 'none' : '1px solid rgb(255 255 255 / 32%)'; chat.style.borderLeft = isParticipantsListHidden ? 'none' : '1px solid rgb(255 255 255 / 32%)';
if (this.isChatPinned) chat.style.display = isParticipantsListHidden ? 'block' : 'none'; if (this.isChatPinned) chat.style.display = isParticipantsListHidden ? 'block' : 'none';
chatHistory.style.height = isParticipantsListHidden ? 'calc(100vh - 220px)' : '500px'; chatHistory.style.height = isParticipantsListHidden ? 'calc(100vh - 210px)' : '490px';
this.toggleChatHistorySize(isParticipantsListHidden && (this.isChatPinned || this.isChatMaximized)); this.toggleChatHistorySize(isParticipantsListHidden && (this.isChatPinned || this.isChatMaximized));
plist.style.width = this.isChatPinned || this.isMobileDevice ? '100%' : '300px'; plist.style.width = this.isChatPinned || this.isMobileDevice ? '100%' : '300px';
} }
toggleChatHistorySize(max = true) { toggleChatHistorySize(max = true) {
const chatHistory = this.getId('chatHistory'); const chatHistory = this.getId('chatHistory');
chatHistory.style.minHeight = max ? 'calc(100vh - 220px)' : '500px'; chatHistory.style.minHeight = max ? 'calc(100vh - 210px)' : '490px';
chatHistory.style.maxHeight = max ? 'calc(100vh - 220px)' : '500px'; chatHistory.style.maxHeight = max ? 'calc(100vh - 210px)' : '490px';
} }
toggleChatPin() { toggleChatPin() {
@@ -3373,9 +3373,11 @@ class RoomClient {
chatHistory.scrollTop += 500; chatHistory.scrollTop += 500;
this.setTippy('msg-delete-' + chatMessagesId, 'Delete', 'top'); if (!this.isMobileDevice) {
this.setTippy('msg-copy-' + chatMessagesId, 'Copy', 'top'); this.setTippy('msg-delete-' + chatMessagesId, 'Delete', 'top');
this.setTippy('msg-speech-' + chatMessagesId, 'Speech', 'top'); this.setTippy('msg-copy-' + chatMessagesId, 'Copy', 'top');
this.setTippy('msg-speech-' + chatMessagesId, 'Speech', 'top');
}
chatMessagesId++; chatMessagesId++;
} }
@@ -5440,7 +5442,7 @@ class RoomClient {
break; break;
} }
setTippy('chatShowParticipantsList', 'Toggle participants list', 'bottom'); if (!this.isMobileDevice) setTippy('chatShowParticipantsList', 'Toggle participants list', 'bottom');
const clickedElement = event ? event.target : null; const clickedElement = event ? event.target : null;
if (!event || (clickedElement.tagName != 'BUTTON' && clickedElement.tagName != 'I')) { if (!event || (clickedElement.tagName != 'BUTTON' && clickedElement.tagName != 'I')) {