Refresh subscriptions when someone add new address (publickeyring updated event).
This commit is contained in:
parent
c05f756249
commit
bbadf97de0
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ angular.module('copay.controllerUtils')
|
||||||
w.on('refresh', function() {
|
w.on('refresh', function() {
|
||||||
root.updateBalance();
|
root.updateBalance();
|
||||||
});
|
});
|
||||||
|
w.on('publicKeyRingUpdated', function() {
|
||||||
|
root.setSocketHandlers();
|
||||||
|
});
|
||||||
w.on('openError', root.onErrorDigest);
|
w.on('openError', root.onErrorDigest);
|
||||||
w.on('peer', function(peerID) {
|
w.on('peer', function(peerID) {
|
||||||
video.callPeer(peerID, handlePeerVideo);
|
video.callPeer(peerID, handlePeerVideo);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue