From c35224f5383747903cb85c2583fbdc9545ea6f6f Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Sat, 11 Feb 2023 14:33:46 +0100 Subject: [PATCH] Debugging: Only show read receipt thread when showing duplicate receipts The new pref is better suitable for controling visibility here. Change-Id: I76cff0282bd2ac562dc5f0ed0ca51f629c63360e --- .../room/detail/readreceipts/DisplayReadReceiptsController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/readreceipts/DisplayReadReceiptsController.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/readreceipts/DisplayReadReceiptsController.kt index 5bbf5477c0..7ef3ce4f71 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/readreceipts/DisplayReadReceiptsController.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/readreceipts/DisplayReadReceiptsController.kt @@ -44,7 +44,7 @@ class DisplayReadReceiptsController @Inject constructor( DisplayReadReceiptItem_() .id(readReceiptData.userId) .matrixItem(readReceiptData.toMatrixItem()) - .debugInfo(readReceiptData.threadId.toString().takeIf { DbgUtil.isDbgEnabled(DbgUtil.DBG_READ_RECEIPTS) }) + .debugInfo(readReceiptData.threadId.toString().takeIf { DbgUtil.isDbgEnabled(DbgUtil.DBG_SHOW_DUPLICATE_READ_RECEIPTS) }) .avatarRenderer(avatarRender) .timestamp(timestamp) .userClicked { listener?.didSelectUser(readReceiptData.userId) }