diff --git a/js/models/conversations.js b/js/models/conversations.js index 9cf7dffd6e45..ffb773476ef8 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -100,6 +100,9 @@ message.unset('pending'); message.save(); }.bind(this)).catch(function(errors) { + if (errors instanceof Error) { + errors = [errors]; + } var keyErrors = []; _.each(errors, function(e) { if (e.error.name === 'OutgoingIdentityKeyError') {