Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
ref(chat): remove unused method
Leonard Kimcb8282dfe51a
diff --git a/react/features/chat/components/web/Chat.js b/react/features/chat/components/web/Chat.jsindex 78cd7aef81..1a69fec6aa 100644--- a/react/features/chat/components/web/Chat.js+++ b/react/features/chat/components/web/Chat.js@@ -87,37 +87,6 @@ class Chat extends AbstractChat<Props> {);}- /**- * Iterates over all the messages and creates nested arrays which hold- * consecutive messages sent be the same participant.- *- * @private- * @returns {Array<Array<Object>>}- */- _getMessagesGroupedBySender() {- const messagesCount = this.props._messages.length;- const groups = [];- let currentGrouping = [];- let currentGroupParticipantId;-- for (let i = 0; i < messagesCount; i++) {- const message = this.props._messages[i];-- if (message.id === currentGroupParticipantId) {- currentGrouping.push(message);- } else {- groups.push(currentGrouping);-- currentGrouping = [ message ];- currentGroupParticipantId = message.id;- }- }-- groups.push(currentGrouping);-- return groups;- }-/*** Returns a React Element for showing chat messages and a form to send new* chat messages.