From f2efdfcbc15f053376a6110e97d0c410a6af4b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=8F=D0=BD=20=D0=9C=D0=B8=D0=BD=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Tue, 21 Dec 2021 14:35:37 -0600 Subject: [PATCH] feat: Drop unused constants. --- react/features/breakout-rooms/constants.js | 16 ---------------- react/features/chat/middleware.js | 1 + 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/react/features/breakout-rooms/constants.js b/react/features/breakout-rooms/constants.js index 5f07f7deb..971777c58 100644 --- a/react/features/breakout-rooms/constants.js +++ b/react/features/breakout-rooms/constants.js @@ -4,19 +4,3 @@ * Key for this feature. */ export const FEATURE_KEY = 'features/breakout-rooms'; - -/** - * The type of json-message which indicates that json carries - * a request for a participant to move to a specified room. - */ -export const JSON_TYPE_MOVE_TO_ROOM_REQUEST = `${FEATURE_KEY}/move-to-room`; - -/** - * The type of json-message which indicates that json carries a request to remove a specified breakout room. - */ -export const JSON_TYPE_REMOVE_BREAKOUT_ROOM = `${FEATURE_KEY}/remove`; - -/** - * The type of json-message which indicates that json carries breakout rooms data. - */ -export const JSON_TYPE_UPDATE_BREAKOUT_ROOMS = `${FEATURE_KEY}/update`; diff --git a/react/features/chat/middleware.js b/react/features/chat/middleware.js index 3d236bd8c..cb4b28e0c 100644 --- a/react/features/chat/middleware.js +++ b/react/features/chat/middleware.js @@ -314,6 +314,7 @@ function _handleReceivedMessage({ dispatch, getState }, // Provide a default for for the case when a message is being // backfilled for a participant that has left the conference. const participant = getParticipantById(state, id) || {}; +console.error('receiveeeed from', id, 'breakout:', APP.store.getState()["features/breakout-rooms"]); const localParticipant = getLocalParticipant(getState); const displayName = getParticipantDisplayName(state, id); const hasRead = participant.local || isChatOpen;