Re-enable read receipts and read syncs (#1604)
This commit is contained in:
parent
04fb736e8b
commit
efb5c10d36
1 changed files with 2 additions and 1 deletions
|
@ -784,10 +784,11 @@
|
|||
'it was not in messageCollection.');
|
||||
}
|
||||
promises.push(m.markRead());
|
||||
var errors = m.get('errors');
|
||||
return {
|
||||
sender : m.get('source'),
|
||||
timestamp : m.get('sent_at'),
|
||||
hasErrors : Boolean(m.get('errors'))
|
||||
hasErrors : Boolean(errors && errors.length)
|
||||
};
|
||||
}.bind(this));
|
||||
|
||||
|
|
Loading…
Reference in a new issue