mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Fix boosted posts not showing up in the Main Follows feed
This commit is contained in:
parent
e7b6ca1bb2
commit
965cdd9304
@ -164,7 +164,7 @@ fun NoteCompose(baseNote: Note, modifier: Modifier = Modifier, isInnerNote: Bool
|
||||
note.replyTo?.mapIndexed { index, note ->
|
||||
NoteCompose(
|
||||
note,
|
||||
modifier = Modifier.padding(top = 5.dp),
|
||||
modifier = Modifier,
|
||||
isInnerNote = true,
|
||||
accountViewModel = accountViewModel,
|
||||
navController = navController
|
||||
|
@ -56,7 +56,7 @@ class NostrHomeFeedViewModel: FeedViewModel(NostrHomeDataSource) {
|
||||
override fun newListFromDataSource(): List<Note> {
|
||||
// Filter: no replies
|
||||
return dataSource.feed().filter {
|
||||
it.replyTo == null || it.replyTo?.size == 0
|
||||
it.event is RepostEvent || it.replyTo == null || it.replyTo?.size == 0
|
||||
}.take(100)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user