Remove peerjs
This commit is contained in:
parent
e73a3f8160
commit
ac78e2d1e7
9 changed files with 21 additions and 84 deletions
|
|
@ -108,20 +108,6 @@ angular.module('copayApp.directives')
|
|||
}
|
||||
}
|
||||
})
|
||||
.directive('avatar', function($rootScope, controllerUtils) {
|
||||
return {
|
||||
link: function(scope, element, attrs) {
|
||||
var peer = JSON.parse(attrs.peer)
|
||||
var peerId = peer.peerId;
|
||||
var nick = peer.nick;
|
||||
element.addClass('video-small');
|
||||
var muted = controllerUtils.getVideoMutedStatus(peerId);
|
||||
if (true || muted) { // mute everyone for now
|
||||
element.attr("muted", true);
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
.directive('contact', function() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue