Allow for 'error' status on incoming messages not just outgoing
This commit is contained in:
parent
1d18c5686d
commit
4b3ddef955
1 changed files with 3 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue