New queue for view once syncs, handleRetry improvements

This commit is contained in:
Scott Nonnenberg
2022-02-08 09:30:42 -08:00
committed by GitHub
parent 571ee3cab6
commit 0a18cc50bd
12 changed files with 271 additions and 115 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2017-2021 Signal Messenger, LLC
// Copyright 2017-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* global Whisper, window */
@@ -18,6 +18,7 @@ try {
// It is important to call this as early as possible
const { SignalContext } = require('./ts/windows/context');
window.i18n = SignalContext.i18n;
const { getEnvironment, Environment } = require('./ts/environment');
const ipc = electron.ipcRenderer;
@@ -421,7 +422,6 @@ try {
const Attachments = require('./ts/windows/attachments');
const { locale } = config;
window.i18n = SignalContext.i18n;
window.moment.updateLocale(locale, {
relativeTime: {
s: window.i18n('timestamp_s'),