feat: Drop unused constants.
This commit is contained in:
parent
6682167800
commit
f2efdfcbc1
|
@ -4,19 +4,3 @@
|
||||||
* Key for this feature.
|
* Key for this feature.
|
||||||
*/
|
*/
|
||||||
export const FEATURE_KEY = 'features/breakout-rooms';
|
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`;
|
|
||||||
|
|
|
@ -314,6 +314,7 @@ function _handleReceivedMessage({ dispatch, getState },
|
||||||
// Provide a default for for the case when a message is being
|
// Provide a default for for the case when a message is being
|
||||||
// backfilled for a participant that has left the conference.
|
// backfilled for a participant that has left the conference.
|
||||||
const participant = getParticipantById(state, id) || {};
|
const participant = getParticipantById(state, id) || {};
|
||||||
|
console.error('receiveeeed from', id, 'breakout:', APP.store.getState()["features/breakout-rooms"]);
|
||||||
const localParticipant = getLocalParticipant(getState);
|
const localParticipant = getLocalParticipant(getState);
|
||||||
const displayName = getParticipantDisplayName(state, id);
|
const displayName = getParticipantDisplayName(state, id);
|
||||||
const hasRead = participant.local || isChatOpen;
|
const hasRead = participant.local || isChatOpen;
|
||||||
|
|
Loading…
Reference in New Issue