Changeset 0a93c15 in Klonkt for CHANGELOG.md


Ignore:
Timestamp:
07/04/2026 05:44:17 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
da71f9d
Parents:
6ec0433
Message:

fix(ap): a poll keeps its cover art when federated

The real reason "Swimming Pools" (a music poll) showed a blank tile
after every earlier cover fix: applyPollToNote did delete note.image,
stripping the cover off the AS2 Question entirely — so it was never in
the federated poll, and no amount of consumer-side healing could bring
back what the origin never sent.

The comment justified it as "media + poll are mutually exclusive on
Mastodon", but that's true only of attachment (media). image is the
cover, which Mastodon ignores on any Note/Question anyway and Klonkt
reads to show the cover in feeds/the Cirkel. Keep attachment stripped,
keep image.

Verified with a new test: an embed/music poll (images suppressed → cover
in note.image) stays a Question, keeps note.image with its alt text, and
still has no attachment. Suite 46/46.

  • src/services/ActivityPubService.js — stop deleting note.image in applyPollToNote
  • test/polls.test.js — poll-keeps-cover test
  • CHANGELOG(.nl/.de).md — Unreleased entry (3 languages)

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.md

    r6ec0433 r0a93c15  
    55
    66## [Unreleased]
     7
     8### Fixed
     9- **Polls keep their cover art when boosted.** A poll with music or an embed was
     10  federating without its cover, so a boosted poll showed a blank tile; the cover
     11  now travels with it.
    712
    813## [1.3.4] — 2026-07-04
Note: See TracChangeset for help on using the changeset viewer.