Changeset 0a93c15 in Klonkt for src/services/ActivityPubService.js
- Timestamp:
- 07/04/2026 05:44:17 PM (2 months ago)
- Branches:
- main
- Children:
- da71f9d
- Parents:
- 6ec0433
- File:
-
- 1 edited
-
src/services/ActivityPubService.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/ActivityPubService.js
r6ec0433 r0a93c15 890 890 if (poll.closed) note.closed = poll.endTime ? new Date(poll.endTime).toISOString() : new Date().toISOString(); 891 891 note.votersCount = voters; 892 delete note.attachment; // media + poll are mutually exclusive on Mastodon 893 delete note.image; 892 delete note.attachment; // media ATTACHMENTS + a poll are mutually exclusive on Mastodon 893 // Keep note.image: it's the cover, which Mastodon ignores on a Question anyway 894 // (same as on any Note) but Klonkt reads to show the cover in feeds/the Cirkel. 895 // Deleting it stripped the cover off every boosted poll. 894 896 return note; 895 897 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)