Changeset 46a30f0 in Klonkt
- Timestamp:
- 07/26/2026 08:35:57 AM (6 weeks ago)
- Branches:
- main
- Children:
- a677616
- Parents:
- af6e085
- File:
-
- 1 edited
-
src/routes/activitypub.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/activitypub.js
raf6e085 r46a30f0 174 174 // note has no quote or the quoted post could not be resolved. 175 175 'shaer:quote': AP.timelineQuote(t.quote_json), 176 // The post author's display info (name / @handle / avatar), so every card 177 // gets a byline header like the quote card. attributedTo stays the bare 178 // actor URI; this is the resolved presentation Klonkt already stored. 179 'shaer:author': (t.author_name || t.author_handle || t.author_icon) ? { 180 name: t.author_name || undefined, handle: t.author_handle || undefined, 181 icon: t.author_icon || undefined, url: t.author_url || undefined, 182 } : undefined, 183 // When a followed account boosted this, who did ("X boosted"). Omitted for 184 // ordinary posts. 185 'shaer:booster': (t.reblog_name || t.reblog_handle || t.reblog_icon) ? { 186 name: t.reblog_name || undefined, handle: t.reblog_handle || undefined, 187 icon: t.reblog_icon || undefined, 188 } : undefined, 176 189 }, 177 190 }));
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)