mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00: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
@@ -124,7 +124,7 @@ public class ConversationItemFooter extends LinearLayout {
|
||||
revealDot.addValueCallback(
|
||||
new KeyPath("**"),
|
||||
LottieProperty.COLOR_FILTER,
|
||||
frameInfo -> new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP)
|
||||
frameInfo -> new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_IN)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -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