Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: Drop unused constants.

Дамян Минковf2efdfcbc15f
diff --git a/react/features/breakout-rooms/constants.js b/react/features/breakout-rooms/constants.js
index 5f07f7deb9..971777c58e 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 3d236bd8c7..cb4b28e0c3 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;