Refactor 'waiting' flags into one location, fix timestamp check
This commit is contained in:
parent
fd36720079
commit
e18b6bed1f
6 changed files with 39 additions and 13 deletions
|
@ -1,5 +1,4 @@
|
|||
/* global Whisper: false */
|
||||
/* global window: false */
|
||||
/* global Whisper, window */
|
||||
|
||||
const electron = require('electron');
|
||||
const semver = require('semver');
|
||||
|
@ -9,6 +8,12 @@ const { deferredToPromise } = require('./js/modules/deferred_to_promise');
|
|||
const { app } = electron.remote;
|
||||
const { systemPreferences } = electron.remote.require('electron');
|
||||
|
||||
// Waiting for clients to implement changes on receive side
|
||||
window.ENABLE_STICKER_SEND = false;
|
||||
window.TIMESTAMP_VALIDATION = false;
|
||||
window.PAD_ALL_ATTACHMENTS = false;
|
||||
window.SEND_RECIPIENT_UPDATES = false;
|
||||
|
||||
window.PROTO_ROOT = 'protos';
|
||||
const config = require('url').parse(window.location.toString(), true).query;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue