Wait for enqueueMessageForSend before resetting message input box

This commit is contained in:
Scott Nonnenberg 2022-07-18 12:30:18 -07:00 committed by GitHub
parent 1bb91758e6
commit a0424be5bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2617,7 +2617,7 @@ export class ConversationView extends window.Backbone.View<ConversationModel> {
log.info('Send pre-checks took', sendDelta, 'milliseconds');
model.enqueueMessageForSend(
await model.enqueueMessageForSend(
{
body: message,
attachments,