Send just sync message if we've already sent to all recipients

This commit is contained in:
Scott Nonnenberg 2022-05-31 16:20:45 -07:00 committed by GitHub
parent a88560183b
commit 16d180efac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 6 deletions

View file

@ -1581,6 +1581,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
this.set({
// This is the same as a normal send()
expirationStartTimestamp: Date.now(),
errors: [],
});
const result = await this.sendSyncMessage();
this.set({