1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-06 00:02:48 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
ericdecanini
5e7328e771 Adds changelog file 2022-10-25 22:14:40 -04:00
ericdecanini
b27e1c454c Fixes ignored user visible 2022-10-25 22:10:28 -04:00
2 changed files with 2 additions and 1 deletions

1
changelog.d/7451.bugfix Normal file
View File

@@ -0,0 +1 @@
Fixes empty thread message from ignored user in timeline

View File

@@ -111,7 +111,7 @@ abstract class AbsMessageItem<H : AbsMessageItem.Holder>(
if (attributes.areThreadMessagesEnabled) {
holder.threadSummaryConstraintLayout.onClick(_threadClickListener)
attributes.threadDetails?.let { threadDetails ->
holder.threadSummaryConstraintLayout.isVisible = threadDetails.isRootThread
holder.threadSummaryConstraintLayout.isVisible = threadDetails.isRootThread && threadDetails.threadSummarySenderInfo != null
holder.threadSummaryCounterTextView.text = threadDetails.numberOfThreads.toString()
holder.threadSummaryInfoTextView.text = attributes.threadSummaryFormatted ?: attributes.decryptionErrorMessage