Fixes double mention to Community headers when seeing a reply to a community post.

This commit is contained in:
Vitor Pamplona
2024-03-21 08:42:14 -04:00
parent bdf41f53fb
commit c1756b75a7
@@ -684,7 +684,7 @@ fun RenderRepost(
accountViewModel: AccountViewModel, accountViewModel: AccountViewModel,
nav: (String) -> Unit, nav: (String) -> Unit,
) { ) {
note.replyTo?.lastOrNull()?.let { note.replyTo?.lastOrNull { it.event !is CommunityDefinitionEvent }?.let {
NoteCompose( NoteCompose(
it, it,
modifier = Modifier, modifier = Modifier,