Debugging: Only show read receipt thread when showing duplicate receipts

The new pref is better suitable for controling visibility here.

Change-Id: I76cff0282bd2ac562dc5f0ed0ca51f629c63360e
This commit is contained in:
SpiritCroc 2023-02-11 14:33:46 +01:00
parent d7ef3225c9
commit c35224f538
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class DisplayReadReceiptsController @Inject constructor(
DisplayReadReceiptItem_() DisplayReadReceiptItem_()
.id(readReceiptData.userId) .id(readReceiptData.userId)
.matrixItem(readReceiptData.toMatrixItem()) .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) .avatarRenderer(avatarRender)
.timestamp(timestamp) .timestamp(timestamp)
.userClicked { listener?.didSelectUser(readReceiptData.userId) } .userClicked { listener?.didSelectUser(readReceiptData.userId) }