diff --git a/src/components/layouts/Conference.vue b/src/components/layouts/Conference.vue index 2f24dc5d..38349739 100644 --- a/src/components/layouts/Conference.vue +++ b/src/components/layouts/Conference.vue @@ -64,17 +64,7 @@
+ :disable="conferenceHasParticipants"> - - - + - {{ localParticipant.displayName }} - + > + {{ localParticipant.displayName }} + diff --git a/src/store/conference.js b/src/store/conference.js index 12ee9864..c5e4a88e 100644 --- a/src/store/conference.js +++ b/src/store/conference.js @@ -211,7 +211,6 @@ export default { }); } state.participants.push(participant.getId()); - }, participantLeft(state, participant) { state.participants = state.participants.filter(($participant) => { diff --git a/t/store/conference.js b/t/store/conference.js index 7cd62c53..ae0a3be7 100644 --- a/t/store/conference.js +++ b/t/store/conference.js @@ -4,7 +4,7 @@ import ConferenceModule from '../../src/store/conference'; import { assert } from 'chai'; -describe('ConferenceModule', function(){ +describe('Conference', function(){ it('should add a participant id to the store if not already stored', () => { let state = { @@ -48,17 +48,6 @@ describe('ConferenceModule', function(){ }); - it('should add a participant mediastream to the store', () => { - let state = { - remoteMediaStreams: {} - }; - const participantId = '123456789'; - - ConferenceModule.mutations.addRemoteMedia(state, participantId); - assert.exists(state.remoteMediaStreams[participantId]); - - }); - it('should remove a participant mediastream from the store', () => { let state = { remoteMediaStreams: { @@ -104,6 +93,4 @@ describe('ConferenceModule', function(){ assert.equal(state.selectedParticipant, null); }); - - });