Changeset 74d61e6 in Klonkt for src/routes
- Timestamp:
- 06/27/2026 07:15:25 AM (2 months ago)
- Branches:
- main
- Children:
- f99c830
- Parents:
- dcff893
- File:
-
- 1 edited
-
src/routes/posts.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/posts.js
rdcff893 r74d61e6 537 537 const id = note.object_uri || uri; 538 538 return Promise.resolve(ActivityPubService.sendInteraction(site, on ? 'boost' : 'unboost', id, note.actor_uri)) 539 .then(() => on ? ActivityPubService.markBoosted(site.slug, id) : ActivityPubService.unmarkBoosted(site.slug, id)); 539 // Boost → store the post in the timeline (even if you don't follow the author) so it 540 // surfaces in the Cirkel; unboost → just clear the flag. 541 .then(() => on ? ActivityPubService.upsertBoostedNote(site.slug, note) : ActivityPubService.unmarkBoosted(site.slug, id)); 540 542 }) 541 543 .catch((e) => console.warn('[AP] remote boost failed:', e.message));
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)