24
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

all 5 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 3 months ago

I managed to fix this in comments, for now no previews will be loaded for links inside spoilers including image previews. In the future I’ll look into loading previews when spoilers are expanded.

I still need to apply this to posts as well.

[-] [email protected] 1 points 3 months ago* (last edited 3 months ago)

Nice! The other thing I discovered thanks to this very post is a deleted comment seems to still display the picture it had. In the deleted comment below I had a screenshot then deleted it but now is shows “deleted by creator” with the picture underneath.

see screenshot

[-] [email protected] 2 points 3 months ago

Hmm lemmy seems to handle deleted content in an odd way. I’ll look into this and prevent loading for deleted removed content. Just to note: this only seems to affect the owner of the content apparently. On my end, the image is not loaded, so this is either a caching issue, or a Lemmy API issue. Either way I will disable loading content like this.

[-] [email protected] 2 points 3 months ago

Good catch! I’ll be sure to disable link previews for collapsed spoilers. Thanks for pointing that out!

this post was submitted on 06 Apr 2024
24 points (100.0% liked)

Arctic

299 readers
1 users here now

Arctic is a Lemmy client for iOS built on pure Swift. It currently supports iOS 15+ and Lemmy v0.17+

Get the latest version on TestFlight, or check it out on the AppStore.

If you would like to support Arctic’s development, feel free to Buy Me A Coffee

founded 1 year ago
MODERATORS