mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-11 11:27:03 +00:00
Wait for auth before requesting stuff
This commit is contained in:
@@ -52,8 +52,7 @@ export const updateList = async (kind: number, modifyTags: ModifyTags) => {
|
||||
const $pk = pk.get()!
|
||||
const $signer = signer.get()!
|
||||
const [prev] = repository.query([{kinds: [kind], authors: [$pk]}])
|
||||
const userRelays = getRelaySelectionsByPubkey().get($pk)
|
||||
const relays = [...INDEXER_RELAYS, ...getWriteRelayUrls(userRelays)]
|
||||
const relays = getWriteRelayUrls(getRelaySelectionsByPubkey().get($pk))
|
||||
|
||||
// Preserve content if we have it
|
||||
const event = prev
|
||||
|
||||
Reference in New Issue
Block a user