Changeset c16e0a5 in Klonkt for src/routes
- Timestamp:
- 06/24/2026 11:44:23 AM (3 months ago)
- Branches:
- main
- Children:
- 47a0d29
- Parents:
- eb852c5
- File:
-
- 1 edited
-
src/routes/posts.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/posts.js
reb852c5 rc16e0a5 748 748 db.prepare('SELECT 1 FROM post_likes WHERE post_id = ? AND user_id = ?').get(post.id, req.session.user.id)); 749 749 750 // Inbound fediverse activity (replies/likes/boosts) for this post. 751 let fediverse = { replies: [], likeCount: 0, announceCount: 0, total: 0 }; 752 try { fediverse = ActivityPubService.getInteractions(post.id); } catch { /* non-fatal */ } 753 750 754 renderPage(req, res, 'pages/post', { 751 755 post, … … 755 759 comments: topLevel, 756 760 totalComments, 761 fediverse, 757 762 likeCount, 758 763 likedByMe,
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)