FS-8336 [verto_communicator] #resolve Using conferenceMemberID when checking if the updated member is me
This commit is contained in:
parent
b9bcd7429d
commit
80111e7dd7
|
@ -117,10 +117,10 @@
|
|||
// console.log('Updating', memberIdx, ' <', $scope.members[memberIdx],
|
||||
// '> with <', member, '>');
|
||||
// Checking if it's me
|
||||
if (member.name == verto.data.name && member.email == verto.data.email) {
|
||||
verto.data.mutedMic = member.status.audio.muted;
|
||||
verto.data.mutedVideo = member.status.video.muted;
|
||||
}
|
||||
if (parseInt(member.id) == parseInt(verto.data.conferenceMemberID)) {
|
||||
verto.data.mutedMic = member.status.audio.muted;
|
||||
verto.data.mutedVideo = member.status.video.muted;
|
||||
}
|
||||
angular.extend($scope.members[memberIdx], member);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -346,7 +346,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||
$rootScope.$emit('call.conference', 'conference');
|
||||
data.chattingWith = pvtData.chatID;
|
||||
data.confRole = pvtData.role;
|
||||
|
||||
data.conferenceMemberID = pvtData.conferenceMemberID;
|
||||
var conf = new $.verto.conf(v, {
|
||||
dialog: dialog,
|
||||
hasVid: storage.data.useVideo,
|
||||
|
|
Loading…
Reference in New Issue