mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix issue preventing people blocking receipts from seeing incoming voice notes as viewed.
This commit is contained in:
committed by
Greyson Parrelli
parent
7833d7c99a
commit
fb08f8ae17
@@ -2074,8 +2074,11 @@ public class MmsDatabase extends MessageDatabase {
|
||||
int viewedReceiptCount = cursor.getInt(cursor.getColumnIndexOrThrow(MmsSmsColumns.VIEWED_RECEIPT_COUNT));
|
||||
|
||||
if (!TextSecurePreferences.isReadReceiptsEnabled(context)) {
|
||||
readReceiptCount = 0;
|
||||
viewedReceiptCount = 0;
|
||||
readReceiptCount = 0;
|
||||
|
||||
if (MmsSmsColumns.Types.isOutgoingMessageType(box)) {
|
||||
viewedReceiptCount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Recipient recipient = Recipient.live(RecipientId.from(recipientId)).get();
|
||||
|
||||
Reference in New Issue
Block a user