Show read/viewed even after read receipts disabled

This commit is contained in:
Evan Hahn 2021-07-21 14:21:16 -05:00 committed by GitHub
parent 8bcf3addc7
commit 2c59c71872
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 70 deletions

View file

@ -367,7 +367,6 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
this.OUR_UUID,
undefined,
undefined,
window.storage.get('read-receipt-setting', false),
window.storage.get('regionCode', 'ZZ'),
(identifier?: string) => {
const state = window.reduxStore.getState();
@ -3336,8 +3335,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
(isIncoming(attributes) ||
getMessagePropStatus(
attributes,
window.ConversationController.getOurConversationIdOrThrow(),
window.storage.get('read-receipt-setting', false)
window.ConversationController.getOurConversationIdOrThrow()
) !== 'partial-sent')
) {
return undefined;