diff --git a/js/models/conversations.js b/js/models/conversations.js index c77fe06ec..2111ffefb 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -1304,7 +1304,6 @@ try { const uploads = await message.uploadData(); - // FIXME audric add back profileKey const chatMessage = new libsession.Messages.Outgoing.ChatMessage({ body: uploads.body, identifier: id, diff --git a/js/models/messages.js b/js/models/messages.js index f10665e9f..ed2716f17 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -1050,10 +1050,6 @@ const successfulRecipients = this.get('sent_to') || []; const currentRecipients = conversation.getRecipients(); - // const profileKey = conversation.get('profileSharing') - // ? storage.get('profileKey') - // : null; - if (conversation.isPublic()) { const openGroup = { server: conversation.get('server'), @@ -1100,7 +1096,6 @@ // Special-case the self-send case - we send only a sync message if (recipients.length === 1 && recipients[0] === this.OUR_NUMBER) { - // FIXME audric add back profileKey return this.sendSyncMessageOnly(chatMessage); } diff --git a/ts/receiver/receiver.ts b/ts/receiver/receiver.ts index 8991e53c4..0fd2c5592 100644 --- a/ts/receiver/receiver.ts +++ b/ts/receiver/receiver.ts @@ -175,6 +175,7 @@ enum ConversationType { } async function sendDeliveryReceipt(source: string, timestamp: any) { + // FIXME audric // const receiptMessage = new DeliveryReceiptMessage({ // timestamp: Date.now(), // timestamps: [timestamp],