address reviews

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

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

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

Loading…
Cancel
Save