Skip to content

Commit a741d20

Browse files
Fix crash when sending out read receipt (#1957)
Co-authored-by: ThomasSession <thomas.r@getsession.org> (cherry picked from commit d7a0ee8)
1 parent a442a63 commit a741d20

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/src/main/java/org/thoughtcrime/securesms/notifications/MarkReadProcessor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ class MarkReadProcessor @Inject constructor(
132132
private val Recipient.shouldSendReadReceipt: Boolean
133133
get() = when (data) {
134134
is RecipientData.Contact -> approved && !blocked
135-
is RecipientData.Generic -> !isGroupOrCommunityRecipient && !blocked
136135
else -> false
137136
}
138137

0 commit comments

Comments
 (0)