Display a default message for incoming message errors

An exception to the previous commit, for incoming messages we should not
show a mysterious empty bubble. Instead there is some generic
non-technical error message.

// FREEBIE
This commit is contained in:
lilia 2015-09-30 15:22:59 -07:00
parent 929c16090b
commit a802322d44
2 changed files with 8 additions and 3 deletions

View file

@ -59,7 +59,7 @@
return 'Received message with unknown identity key.';
}
if (this.isIncoming() && this.hasErrors()) {
return 'Error decrypting incoming message.';
return 'Error handling incoming message.';
}
return this.get('body');