Skip to content

Commit

Permalink
Wait for enqueueMessageForSend before resetting message input box
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Nonnenberg <scott@signal.org>
  • Loading branch information
automated-signal and scottnonnenberg-signal committed Jul 18, 2022
1 parent 9e45e0e commit 6e04fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/views/conversation_view.tsx
Expand Up @@ -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,
Expand Down

0 comments on commit 6e04fee

Please sign in to comment.