diff --git a/bigbluebutton-html5/imports/ui/components/chat/container.jsx b/bigbluebutton-html5/imports/ui/components/chat/container.jsx index d466d97011ab26d59c25a4863159ad01f479388d..264d8330650351970e708ed1bd5f21b31d692333 100755 --- a/bigbluebutton-html5/imports/ui/components/chat/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/chat/container.jsx @@ -137,22 +137,22 @@ const ChatContainer = (props) => { prevSync = contextChat?.syncing; const timeWindowsValues = isPublicChat ? [ - // ...( - // !contextChat?.syncing ? Object.values(contextChat?.preJoinMessages || {}) : [ - // { - // id: sysMessagesIds.syncId, - // content: [{ - // id: 'synced', - // text: intl.formatMessage(intlMessages.loading, { 0: contextChat?.syncedPercent}), - // time: loginTime + 1, - // }], - // key: sysMessagesIds.syncId, - // time: loginTime + 1, - // sender: null, - // } - // ] - // ) - // , ...systemMessagesIds.map((item) => systemMessages[item]), + ...( + !contextChat?.syncing ? Object.values(contextChat?.preJoinMessages || {}) : [ + { + id: sysMessagesIds.syncId, + content: [{ + id: 'synced', + text: intl.formatMessage(intlMessages.loading, { 0: contextChat?.syncedPercent}), + time: loginTime + 1, + }], + key: sysMessagesIds.syncId, + time: loginTime + 1, + sender: null, + } + ] + ) + , ...systemMessagesIds.map((item) => systemMessages[item]), ...Object.values(contextChat?.posJoinMessages || {})] : [...Object.values(contextChat?.messageGroups || {})]; if (previousChatId !== chatID) { diff --git a/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/message-chat-item/component.jsx b/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/message-chat-item/component.jsx index f84b2264bf187503c3885e9667d3beb354e77570..bfc29d2888d4808d5389e4cd553f14489efae11d 100644 --- a/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/message-chat-item/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/message-chat-item/component.jsx @@ -27,7 +27,6 @@ const eventsToBeBound = [ const isElementInViewport = (el) => { if (!el) return false; const rect = el.getBoundingClientRect(); - console.log('rect', rect); return ( rect.top >= 0