forked from Mirrors/elk
fix: make context default to public
This commit is contained in:
parent
28c011ac2e
commit
b64a4784ab
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function removeFilteredItems(items: mastodon.v1.Status[], context: mastodon.v1.F
|
||||||
return [...items].filter(isFiltered).filter(isReblogFiltered)
|
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
|
let steps = 0
|
||||||
|
|
||||||
const newItems = removeFilteredItems(items, context)
|
const newItems = removeFilteredItems(items, context)
|
||||||
|
|
Loading…
Reference in a new issue