Don't display 'read' icon if read-recipts-setting is disabled

This commit is contained in:
Scott Nonnenberg 2018-11-01 10:08:40 -07:00
parent 527b884eb4
commit 68e3cade17

View file

@ -371,7 +371,7 @@
} }
const readBy = this.get('read_by') || []; const readBy = this.get('read_by') || [];
if (readBy.length > 0) { if (storage.get('read-receipt-setting') && readBy.length > 0) {
return 'read'; return 'read';
} }
const delivered = this.get('delivered'); const delivered = this.get('delivered');