Kick off checks for updates in more situations

This commit is contained in:
Scott Nonnenberg 2019-10-03 12:07:35 -07:00
parent 5c00b89600
commit 0f93c780ec
5 changed files with 79 additions and 58 deletions

View file

@ -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);