deer social fork for personal usage. but you might see a use idk. github mirror
4
fork

Configure Feed

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

no need for this buggy entry

Signed-off-by: ayla <ayla-git.barcode041@silomails.com>

ayla 5050a8d0 a02ab233

+2 -3
+1 -1
src/components/Post/Embed/ImageEmbed.tsx
··· 56 56 (loadAsPngs 57 57 ? (recordImage.size && 58 58 recordImage.quality === 100 && 59 - recordImage.size <= PNG_IMG_MAX_BYTE) || 59 + recordImage.image.size <= PNG_IMG_MAX_BYTE) || 60 60 (img.aspectRatio && 61 61 img.aspectRatio.width <= PNG_IMG_MAX_SIZE && 62 62 img.aspectRatio.height <= PNG_IMG_MAX_SIZE)
+1 -2
src/lib/api/index.ts
··· 304 304 const images: BetterImage[] = await Promise.all( 305 305 imagesDraft.map(async (image, i) => { 306 306 logger.debug(`Compressing image #${i}`) 307 - const {path, width, height, mime, size, quality} = 307 + const {path, width, height, mime, quality} = 308 308 await compressImage(image) 309 309 logger.debug(`Uploading image #${i}`) 310 310 const res = await uploadBlob(agent, path, mime) ··· 314 314 aspectRatio: {width, height}, 315 315 mime: mime, 316 316 quality, 317 - size, 318 317 } 319 318 }), 320 319 )