do not thread author media filtered feed (#1253)

This commit is contained in:
Eric Bailey
2023-08-22 12:46:49 -05:00
committed by GitHub
parent 88357d5c82
commit 09a445d804
2 changed files with 27 additions and 6 deletions
+12 -5
View File
@@ -176,11 +176,18 @@ export class ProfileUiModel {
filter = 'posts_with_media'
}
this.feed = new PostsFeedModel(this.rootStore, 'author', {
actor: this.params.user,
limit: 10,
filter,
})
this.feed = new PostsFeedModel(
this.rootStore,
'author',
{
actor: this.params.user,
limit: 10,
filter,
},
{
isSimpleFeed: ['posts_with_media'].includes(filter),
},
)
if (this.currentView instanceof PostsFeedModel) {
this.feed.setup()