allowing sending of messages if we're still waiting to hear back

pull/787/head
Ryan Tharp 5 years ago
parent 6c73fa99e2
commit 156c11d30f

@ -1860,8 +1860,8 @@
message = window.Signal.Emoji.replaceColons(message).trim(); message = window.Signal.Emoji.replaceColons(message).trim();
const toastOptions = { type: 'info' }; const toastOptions = { type: 'info' };
const expiredVersion = await extension.expiredPromise(); // let it pass if we're still trying to read it or it's false...
if (expiredVersion) { if (extension.expiredStatus() === true) {
toastOptions.title = i18n('expiredWarning'); toastOptions.title = i18n('expiredWarning');
toastOptions.id = 'expiredWarning'; toastOptions.id = 'expiredWarning';
} }

Loading…
Cancel
Save