Merge pull request #1258 from cmgustavo/feature/01-remove-peerjs
Feature: remove peerjs
This commit is contained in:
commit
a0c7d2cb66
19 changed files with 47 additions and 2960 deletions
|
|
@ -109,20 +109,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