Sync address book with all copayer

This commit is contained in:
Gustavo Cortez 2014-06-18 20:18:13 -03:00
commit 4aa3915381
6 changed files with 117 additions and 35 deletions

View file

@ -134,6 +134,11 @@ angular.module('copayApp.services')
break;
}
});
w.on('addressBookUpdated', function(dontDigest) {
if (!dontDigest) {
$rootScope.$digest();
}
});
w.on('connectionError', function(msg) {
root.onErrorDigest(null, msg);
});