address reviews

pull/669/head
Maxim Shishmarev 6 years ago
parent 81bfa90943
commit 19786108a3

@ -1918,7 +1918,7 @@
window.Whisper.events.trigger('showSessionRestoreConfirmation', { window.Whisper.events.trigger('showSessionRestoreConfirmation', {
pubkey, pubkey,
onOk: async () => { onOk: () => {
convo.sendMessage('', null, null, null, null, { convo.sendMessage('', null, null, null, null, {
sessionRestoration: true, sessionRestoration: true,
}); });

@ -1516,11 +1516,7 @@
messageWithSchema.sourceDevice = 1; messageWithSchema.sourceDevice = 1;
} }
let sessionRestoration = false; const { sessionRestoration = false } = otherOptions;
if (otherOptions) {
sessionRestoration = otherOptions.sessionRestoration || false;
}
const attributes = { const attributes = {
...messageWithSchema, ...messageWithSchema,

Loading…
Cancel
Save