fix: make context default to public
This commit is contained in:
parent
28c011ac2e
commit
b64a4784ab
@ -17,7 +17,7 @@ function removeFilteredItems(items: mastodon.v1.Status[], context: mastodon.v1.F
|
||||
return [...items].filter(isFiltered).filter(isReblogFiltered)
|
||||
}
|
||||
|
||||
export function reorderedTimeline(items: mastodon.v1.Status[], context: mastodon.v1.FilterContext) {
|
||||
export function reorderedTimeline(items: mastodon.v1.Status[], context: mastodon.v1.FilterContext = 'public') {
|
||||
let steps = 0
|
||||
|
||||
const newItems = removeFilteredItems(items, context)
|
||||
|
Loading…
Reference in New Issue
Block a user