Changeset 28b59e7 in Klonkt for src/views

Timestamp:
06/30/2026 02:24:00 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
443f982
Parents:
292734a
Message:

fix(federation): don't federate inline images we can't serve (stale /images/... -> black tile in Mastodon)

buildNote turned every inline <img> into an AP image attachment, including a dead relative path
(e.g. a stale /images/<hash>.jpg that 404s). Mastodon then showed it as a black tile in its
attachment grid next to the real cover. Now only federate absolute http(s) URLs or our own
/media/ uploads; other relative paths (which we don't host) are skipped.

  • src/services/ActivityPubService.js — guard inline image collection in buildNote

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.