Allow for 'error' status on incoming messages not just outgoing

This commit is contained in:
Scott Nonnenberg 2018-08-06 09:04:27 -07:00
parent 1d18c5686d
commit 4b3ddef955

View file

@ -389,13 +389,12 @@
};
},
getMessagePropStatus() {
if (!this.isOutgoing()) {
return null;
}
if (this.hasErrors()) {
return 'error';
}
if (!this.isOutgoing()) {
return null;
}
const readBy = this.get('read_by') || [];
if (readBy.length > 0) {