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

View file

@ -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) }