Red Rozenglass on Nostr: The Real Grunfink I noticed some posts missing their images. This happens because ...
The Real Grunfink (nprofile…73zh) I noticed some posts missing their images. This happens because some attachment images are skipped if the body of the message contained a link to the picture. See this post for example:
https://dreamscape.link/vault/public/debug/snac2/4beb5a0d464e4ad952b192f0403635ea.json
I would rather see duplicate attachments, than miss some attachments completely. This patch removes the duplication check until a smarter detection solution is made (I'm not working on one for now):
Remove faulty attachments deduplication mechanism
Attachments are skipped if they are already included
in the post content, but this sometimes mistakenly
skips images if the post content includes an anchor
that links to the image too. I'd rather see some
duplicate attachments than miss them.
https://dreamscape.link/vault/public/debug/snac2/0002-Remove-faulty-attachments-deduplication-mechanism.patch
In an unrelated matter, I prefer the mentions to look like they do on X, Pleroma, and Mastodon, i.e. at the start of the post, without CC:, and including the replied to user. I wrote the following patch to make it that way. This solves my issue. If you're interested, I can perhaps make it a user option, to allow users to choose their mention style.
Switch to mainstream micro-blogging mentions style
* Mention the replied-to message owner when replying to them.
* Remove the "CC:" and put the mentions at the beginning.
https://dreamscape.link/vault/public/debug/snac2/0001-Switch-to-mainstream-micro-blogging-mentions-style.patch
https://dreamscape.link/vault/public/debug/snac2/4beb5a0d464e4ad952b192f0403635ea.json
I would rather see duplicate attachments, than miss some attachments completely. This patch removes the duplication check until a smarter detection solution is made (I'm not working on one for now):
Remove faulty attachments deduplication mechanism
Attachments are skipped if they are already included
in the post content, but this sometimes mistakenly
skips images if the post content includes an anchor
that links to the image too. I'd rather see some
duplicate attachments than miss them.
https://dreamscape.link/vault/public/debug/snac2/0002-Remove-faulty-attachments-deduplication-mechanism.patch
In an unrelated matter, I prefer the mentions to look like they do on X, Pleroma, and Mastodon, i.e. at the start of the post, without CC:, and including the replied to user. I wrote the following patch to make it that way. This solves my issue. If you're interested, I can perhaps make it a user option, to allow users to choose their mention style.
Switch to mainstream micro-blogging mentions style
* Mention the replied-to message owner when replying to them.
* Remove the "CC:" and put the mentions at the beginning.
https://dreamscape.link/vault/public/debug/snac2/0001-Switch-to-mainstream-micro-blogging-mentions-style.patch