Fix note to self

pull/1203/head
Mikunj 5 years ago
parent 7b355dae78
commit 6851416d14

@ -1317,8 +1317,7 @@
});
if (this.isMe()) {
await message.markMessageSyncOnly();
// sending is done in the 'private' case below
return message.sendSyncMessageOnly(chatMessage);
}
const options = {};

@ -1328,7 +1328,7 @@
});
const data =
dataMessage instanceof libsession.Message.Outgoing.DataMessage
dataMessage instanceof libsession.Messages.Outgoing.DataMessage
? dataMessage.dataProto()
: dataMessage;
await this.sendSyncMessage(data);
@ -1340,7 +1340,7 @@
return;
}
const syncMessage = new libsession.Message.Outgoing.SentSyncMessage({
const syncMessage = new libsession.Messages.Outgoing.SentSyncMessage({
timestamp: this.get('sent_at'),
identifier: this.id,
dataMessage,

Loading…
Cancel
Save