Full pipeline to send quotes, including thumbnail upload

This commit is contained in:
Scott Nonnenberg
2018-04-19 11:19:23 -07:00
parent 13ce056830
commit 73edabfb17
3 changed files with 63 additions and 7 deletions

View File

@@ -663,7 +663,7 @@
};
},
sendMessage(body, attachments) {
sendMessage(body, attachments, quote) {
this.queueJob(async () => {
const now = Date.now();
@@ -678,6 +678,7 @@
type: 'outgoing',
body,
conversationId: this.id,
quote,
attachments,
sent_at: now,
received_at: now,
@@ -719,6 +720,7 @@
this.get('id'),
body,
attachmentsWithData,
quote,
now,
this.get('expireTimer'),
profileKey