backend for xcvr appview
3
fork

Configure Feed

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

ohhhhhhhhh i forgot that i fixed a bug in lrcd, ++ actually get record correctly

+7 -8
+2 -2
server/go.mod
··· 11 11 github.com/jackc/pgx/v5 v5.7.4 12 12 github.com/joho/godotenv v1.5.1 13 13 github.com/rachel-mp4/lrcd v0.0.0-20250905154658-1d34083d4287 14 - github.com/rachel-mp4/lrcproto v0.0.0-20250905151943-8e3a1989ea5a 14 + github.com/rachel-mp4/lrcproto v0.0.0-20250905154858-2ddb78e31d0c 15 15 github.com/rivo/uniseg v0.4.7 16 16 github.com/whyrusleeping/cbor-gen v0.3.1 17 17 golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 ··· 57 57 golang.org/x/sys v0.28.0 // indirect 58 58 golang.org/x/text v0.21.0 // indirect 59 59 golang.org/x/time v0.8.0 // indirect 60 - google.golang.org/protobuf v1.36.6 // indirect 60 + google.golang.org/protobuf v1.36.8 // indirect 61 61 lukechampine.com/blake3 v1.2.1 // indirect 62 62 )
+4
server/go.sum
··· 125 125 github.com/rachel-mp4/lrcproto v0.0.0-20250720164211-c6162669b709/go.mod h1:hQzO36tQELGbkmRnUtKeM6NMU34t79ZcTlhM+MO7pHw= 126 126 github.com/rachel-mp4/lrcproto v0.0.0-20250905151943-8e3a1989ea5a h1:W3zPeGz/jHYyWj8ZfsuA9yigPMNlA/h7Fu+SQKgiBmQ= 127 127 github.com/rachel-mp4/lrcproto v0.0.0-20250905151943-8e3a1989ea5a/go.mod h1:hQzO36tQELGbkmRnUtKeM6NMU34t79ZcTlhM+MO7pHw= 128 + github.com/rachel-mp4/lrcproto v0.0.0-20250905154858-2ddb78e31d0c h1:t33xVlfSwvB80nj1jroRXUaq/RTgjWwD4l7p/ISatUQ= 129 + github.com/rachel-mp4/lrcproto v0.0.0-20250905154858-2ddb78e31d0c/go.mod h1:hQzO36tQELGbkmRnUtKeM6NMU34t79ZcTlhM+MO7pHw= 128 130 github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= 129 131 github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= 130 132 github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= ··· 170 172 golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= 171 173 google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= 172 174 google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= 175 + google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc= 176 + google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU= 173 177 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 174 178 gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 175 179 gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+1 -6
server/internal/oauth/oauthclient.go
··· 140 140 141 141 func UpdateXCVRProfile(cs *oauth.ClientSession, profile *lex.ProfileRecord, ctx context.Context) (p *lex.ProfileRecord, err error) { 142 142 c := cs.APIClient() 143 - nsid, err := syntax.ParseNSID("com.atproto.repo.getRecord") 144 - if err != nil { 145 - return nil, errors.New("failed to parse: " + err.Error()) 146 - } 147 - var getOut atproto.RepoGetRecord_Output 148 - err = c.Get(ctx, nsid, nil, &getOut) 143 + getOut, err := atproto.RepoGetRecord(ctx, c, "", "org.xcvr.actor.profile", c.AccountDID.String(), "self") 149 144 if err == nil { 150 145 if getOut.Cid != nil { 151 146 var jsonBytes []byte