diff --git a/src/app/commands.ts b/src/app/commands.ts index 55ca0852..21dcb581 100644 --- a/src/app/commands.ts +++ b/src/app/commands.ts @@ -52,6 +52,7 @@ import { INDEXER_RELAYS, loadMembership, loadSettings, + getDefaultPubkeys, } from "@app/state" // Utils @@ -101,7 +102,7 @@ export const loadUserData = ( // Load followed profiles slowly in the background without clogging other stuff up promise.then(async () => { - for (const pubkeys of chunk(50, getFollows(pubkey))) { + for (const pubkeys of chunk(50, getDefaultPubkeys())) { await sleep(300) for (const pubkey of pubkeys) { @@ -174,7 +175,6 @@ export const removeRoomMembership = async (url: string, room: string) => { export const setRelayPolicy = (url: string, read: boolean, write: boolean) => { const list = get(userRelaySelections) || makeList({kind: RELAYS}) - const tags = getRelayTags(getListTags(list)).filter(t => normalizeRelayUrl(t[1]) !== url) if (read && write) { diff --git a/src/app/components/PeopleItem.svelte b/src/app/components/PeopleItem.svelte index c379108d..685c2a52 100644 --- a/src/app/components/PeopleItem.svelte +++ b/src/app/components/PeopleItem.svelte @@ -55,7 +55,7 @@