This repository has no description
0

Configure Feed

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

pkgs.tangled: appview asks knot2 for members by did:web

+13
+11
pkgs/tangled/appview-knot-members-did-web.patch
··· 1 + --- a/appview/knotacl/client.go 2 + +++ b/appview/knotacl/client.go 3 + @@ -49,7 +49,7 @@ func (c *Client) GetKnotMembers(ctx context.Context, host string) ([]string, error) { 4 + "", 5 + make(map[string]struct{}), 6 + func(cursor string) ([]*tangled.KnotListMembers_ListItem, *string, error) { 7 + - out, err := tangled.KnotListMembers(ctx, xc, cursor, listPageLimit, "", host) 8 + + out, err := tangled.KnotListMembers(ctx, xc, cursor, listPageLimit, "", "did:web:"+host) 9 + if err != nil { 10 + return nil, nil, err 11 + }
+2
pkgs/tangled/package.nix
··· 116 116 ''; 117 117 118 118 appview = buildTangledGo "appview" { 119 + # knot2 wants the knot's did:web as listMembers subject, not its hostname 120 + patches = [ ./appview-knot-members-did-web.patch ]; 119 121 postUnpack = '' 120 122 mkdir -p $sourceRoot/appview/pages/static 121 123 cp -fr ${static-files}/* $sourceRoot/appview/pages/static