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

@@ -1157,13 +1157,13 @@
}
const attachments = await this.fileInput.getFiles();
const sendDelta = Date.now() - this.sendStart;
console.log('Send pre-checks took', sendDelta, 'milliseconds');
this.model.sendMessage(message, attachments);
this.model.sendMessage(message, attachments, this.quote);
input.val('');
this.setQuoteMessage(null);
this.focusMessageFieldAndClearDisabled();
this.forceUpdateMessageFieldSize(e);
this.fileInput.deleteFiles();