|
@@ -380,11 +380,11 @@ function _setCallKitSubscriptions({ getState }, next, action) {
|
380
|
380
|
*/
|
381
|
381
|
function _syncTrackState({ getState }, next, action) {
|
382
|
382
|
const result = next(action);
|
383
|
|
- const { track } = action;
|
|
383
|
+ const { jitsiTrack } = action.track;
|
384
|
384
|
const state = getState();
|
385
|
385
|
const conference = getCurrentConference(state);
|
386
|
386
|
|
387
|
|
- if (track.local && conference && conference.callUUID) {
|
|
387
|
+ if (jitsiTrack.isLocal() && conference && conference.callUUID) {
|
388
|
388
|
const tracks = state['features/base/tracks'];
|
389
|
389
|
const muted = isLocalTrackMuted(tracks, MEDIA_TYPE.AUDIO);
|
390
|
390
|
|