Remove peerjs

This commit is contained in:
Gustavo Maximiliano Cortez 2014-09-02 10:48:22 -03:00
commit ac78e2d1e7
9 changed files with 21 additions and 84 deletions

View file

@ -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',