Changeset 78b6d8a in Klonkt for src/routes/posts.js
- Timestamp:
- 06/26/2026 12:16:33 PM (2 months ago)
- Branches:
- main
- Children:
- 4c47eff
- Parents:
- 3384e95
- File:
-
- 1 edited
-
src/routes/posts.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/posts.js
r3384e95 r78b6d8a 633 633 } 634 634 res.redirect('/tijdlijn?success=' + encodeURIComponent('Geboost 🔁')); 635 }); 636 637 // Unboost (retract): send Undo(Announce) + clear the local flag. 638 router.post('/tijdlijn/unboost', requireSiteManager, async (req, res) => { 639 const site = res.locals.site; 640 const note = (req.body.note || '').toString(); 641 if (site && note) { 642 try { await ActivityPubService.sendInteraction(site, 'unboost', note, (req.body.author || '').toString()); } catch (e) { /* ignore */ } 643 ActivityPubService.unmarkBoosted(site.slug, note); 644 } 645 res.redirect('/tijdlijn?success=' + encodeURIComponent('Boost ingetrokken')); 635 646 }); 636 647
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)