Improve loading, including crucial bug preventing merged subscriptions from completing

This commit is contained in:
Jon Staab
2024-09-06 15:54:52 -07:00
parent df3efdee59
commit 3d2e98aacc
7 changed files with 23 additions and 13 deletions
+2 -1
View File
@@ -533,7 +533,8 @@ export const getFilterSelectionsForIndexedKinds = (state: FilterSelectionRuleSta
}
export const getFilterSelectionsForAuthors = (state: FilterSelectionRuleState) => {
if (!state.filter.authors) return false
// If we have a ton of authors, just use our indexers
if (!state.filter.authors || state.filter.authors.length > 30) return false
const id = getFilterId(state.filter)
const scenario = ctx.app.router.FromPubkeys(state.filter.authors!).update(assoc('value', id))