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

pull/1/head
Scott Nonnenberg 7 years ago
parent 1d18c5686d
commit 4b3ddef955

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

Loading…
Cancel
Save