Monorepo for Tangled tangled.org
772
fork

Configure Feed

Select the types of activity you want to include in your feed.

knotserver: add owners public keys to database on startup #270

open opened by willdot.net targeting master from willdot.net/tangled-fork: knot-owner-keys

When a knot is first created, the owners public keys are not available unless the owner manually adds them again via the appview.

This change will automatically get all the owners public keys from their PDS record and add them to the knotservers public keys database.

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:dadhhalkfcq3gucaq25hjqon/sh.tangled.repo.pull/3mknyooc7l422
-5
Interdiff #0 #1
-5
knotserver/router.go
··· 235 235 } 236 236 237 237 xrpcc := indigoxrpc.Client{Host: serviceEndpoint.URL} 238 - 239 - params := map[string]interface{}{} 240 - params["repo"] = owner 241 - params["collection"] = tangled.PublicKeyNSID 242 - 243 238 resp, err := comatproto.RepoListRecords(context.Background(), &xrpcc, tangled.PublicKeyNSID, "", 50, owner, false) 244 239 if err != nil { 245 240 h.l.Error("fetching owners public key records from pds", "error", err)

History

2 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
knotserver: add owners public keys to database on startup
no conflicts, ready to merge
expand 0 comments
1 commit
expand
knotserver: add owners public keys to database on startup
expand 0 comments