Merge pull request #1258 from cmgustavo/feature/01-remove-peerjs

Feature: remove peerjs
This commit is contained in:
Esteban Ordano 2014-09-02 18:23:36 -03:00
commit a0c7d2cb66
19 changed files with 47 additions and 2960 deletions

View file

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