Changeset eb36688 in Klonkt for src/routes
- Timestamp:
- 07/26/2026 08:01:25 AM (6 weeks ago)
- Branches:
- main
- Children:
- cc3cf7d
- Parents:
- 8f8b40f
- File:
-
- 1 edited
-
src/routes/activitypub.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/activitypub.js
r8f8b40f reb36688 162 162 // client renders their images/audio like own outbox posts. 163 163 attachment: AP.timelineAttachments(t.media_json), 164 // FEP-9098 custom emojis: the note's Emoji tags, so the client can 165 // render :shortcode: as an image instead of literal text. 166 tag: AP.timelineEmojis(t.emoji_json), 164 // The note's preserved tags, so the client can render them: FEP-9098 165 // Emoji tags (:shortcode: → image) and FEP-e232 Link tags (quotes / 166 // inline object references). Combined into one `tag` array; omitted 167 // when the note has neither. 168 tag: (() => { 169 const tags = [...(AP.timelineEmojis(t.emoji_json) || []), ...(AP.timelineObjectLinks(t.link_json) || [])]; 170 return tags.length ? tags : undefined; 171 })(), 167 172 }, 168 173 }));
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)