this repo has no description
0
fork

Configure Feed

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

fakermaker: use PNGs for avatars (fixed upstream)

+3 -7
+3 -7
cmd/fakermaker/main.go
··· 423 423 424 424 var avatar *lexutil.Blob 425 425 if genAvatar { 426 - // TODO: PNG uploads currently broken with PDS 427 - //img := gofakeit.ImagePng(200, 200) 428 - img := gofakeit.ImageJpeg(200, 200) 426 + img := gofakeit.ImagePng(200, 200) 429 427 resp, err := comatproto.BlobUpload(context.TODO(), xrpcc, bytes.NewReader(img)) 430 428 if err != nil { 431 429 return err 432 430 } 433 431 avatar = &lexutil.Blob{ 434 - Cid: resp.Cid, 435 - // TODO: see above 436 - //MimeType: "image/png", 437 - MimeType: "image/jpeg", 432 + Cid: resp.Cid, 433 + MimeType: "image/png", 438 434 } 439 435 } 440 436 var banner *lexutil.Blob