A set of fixes and upgrades
* writeToDownloads: Add missing await * Remove window.isFocused() - not used anywhere! * Update typescript, p-queue, make necessary changes to fix build * Slow down sender certificate retries with no existing cert * Slow down signed prekey refreshes when unlinked - 5s -> 5m * Update protobufjs to 4.1.2
This commit is contained in:
parent
38c7fa3da6
commit
3938eb9801
15 changed files with 4824 additions and 3975 deletions
|
@ -11,9 +11,6 @@ const { remote } = electron;
|
|||
const { app } = remote;
|
||||
const { systemPreferences } = remote.require('electron');
|
||||
|
||||
const browserWindow = remote.getCurrentWindow();
|
||||
window.isFocused = () => browserWindow.isFocused();
|
||||
|
||||
// Waiting for clients to implement changes on receive side
|
||||
window.TIMESTAMP_VALIDATION = false;
|
||||
window.PAD_ALL_ATTACHMENTS = false;
|
||||
|
@ -267,7 +264,7 @@ window.getGuid = require('uuid/v4');
|
|||
window.React = require('react');
|
||||
window.ReactDOM = require('react-dom');
|
||||
window.moment = require('moment');
|
||||
window.PQueue = require('p-queue');
|
||||
window.PQueue = require('p-queue').default;
|
||||
|
||||
const Signal = require('./js/modules/signal');
|
||||
const i18n = require('./js/modules/i18n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue