Refresh subscriptions when someone add new address (publickeyring updated event).

This commit is contained in:
Gustavo Cortez 2014-04-25 16:19:24 -03:00
commit bbadf97de0

View file

@ -58,6 +58,9 @@ angular.module('copay.controllerUtils')
w.on('refresh', function() {
root.updateBalance();
});
w.on('publicKeyRingUpdated', function() {
root.setSocketHandlers();
});
w.on('openError', root.onErrorDigest);
w.on('peer', function(peerID) {
video.callPeer(peerID, handlePeerVideo);