diff --git a/js/models/conversations.js b/js/models/conversations.js index 668928e32c45..e22b87e57915 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -97,8 +97,7 @@ sendFunc = textsecure.messaging.sendMessageToGroup; } sendFunc(this.get('id'), body, attachments, now).then(function() { - message.unset('pending'); - message.save(); + message.save({'pending': false}); }.bind(this)).catch(function(errors) { if (errors instanceof Error) { errors = [errors];