adress review

pull/1495/head
Audric Ackermann 4 years ago
parent 4f7cb04552
commit 1fc672da28

@ -476,6 +476,7 @@ if (
tmp: require('tmp'),
path: require('path'),
basePath: __dirname,
attachmentsPath: window.Signal.Migrations.attachmentsPath,
isWindows,
};
/* eslint-enable global-require, import/no-extraneous-dependencies */

@ -1,4 +1,4 @@
/* global Signal, assert, textsecure, _, libsignal */
/* global Signal, assert, _, libsignal */
/* eslint-disable no-console */

@ -132,6 +132,7 @@ export const fillMessageAttributesWithDefaults = (
return _.defaults(optAttributes, {
expireTimer: 0, // disabled
id: uuidv4(),
schemaVersion: window.Signal.Types.Message.CURRENT_SCHEMA_VERSION,
});
};

Loading…
Cancel
Save