Kick off checks for updates in more situations
This commit is contained in:
parent
5c00b89600
commit
0f93c780ec
5 changed files with 79 additions and 58 deletions
|
@ -391,6 +391,11 @@
|
|||
},
|
||||
|
||||
showStickerPack: async (packId, key) => {
|
||||
// We can get these events even if the user has never linked this instance.
|
||||
if (Whisper.Import.isIncomplete() || !Whisper.Registration.everDone()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Kick off the download
|
||||
window.Signal.Stickers.downloadEphemeralPack(packId, key);
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
// the actual next step happens in confirmNumber() on submit form #link-phone
|
||||
},
|
||||
initialize(options = {}) {
|
||||
window.readyForUpdates();
|
||||
|
||||
this.selectStep(Steps.SCAN_QR_CODE);
|
||||
this.connect();
|
||||
this.on('disconnected', this.reconnect);
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
templateName: 'standalone',
|
||||
className: 'full-screen-flow',
|
||||
initialize() {
|
||||
window.readyForUpdates();
|
||||
|
||||
this.accountManager = getAccountManager();
|
||||
|
||||
this.render();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue