mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
@@ -55,6 +55,7 @@
|
||||
storage.put('safety-numbers-approval', false);
|
||||
}
|
||||
Whisper.Registration.markDone();
|
||||
console.log("dispatching registration event");
|
||||
extension.trigger('registration_done');
|
||||
});
|
||||
return accountManager;
|
||||
@@ -70,7 +71,9 @@
|
||||
init();
|
||||
}
|
||||
|
||||
console.log("listening for registration events");
|
||||
extension.on('registration_done', function() {
|
||||
console.log("handling registration event");
|
||||
extension.keepAwake();
|
||||
init(true);
|
||||
});
|
||||
|
||||
@@ -38077,6 +38077,7 @@ var TextSecureServer = (function() {
|
||||
});
|
||||
},
|
||||
registrationDone: function() {
|
||||
console.log('registration done');
|
||||
this.dispatchEvent(new Event('registration'));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -187,6 +187,7 @@
|
||||
});
|
||||
},
|
||||
registrationDone: function() {
|
||||
console.log('registration done');
|
||||
this.dispatchEvent(new Event('registration'));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user