Changeset d1075a1 in Klonkt for src/routes/activitypub.js
- Timestamp:
- 08/08/2026 05:41:58 PM (4 weeks ago)
- Branches:
- main
- Children:
- 3a0ca0f
- Parents:
- 4838760
- File:
-
- 1 edited
-
src/routes/activitypub.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/activitypub.js
r4838760 rd1075a1 179 179 const fanClause = audience === 'friend' ? '' : "AND (fan_only IS NULL OR fan_only = 0)"; 180 180 const posts = db.prepare( 181 `SELECT id, slug, title, content, cover_image_url, cover_video_url, nsfw, content_warning, c2s_attachments, published_at, created_at181 `SELECT id, slug, title, content, cover_image_url, cover_video_url, nsfw, content_warning, c2s_attachments, quote_json, embed_json, published_at, created_at 182 182 FROM posts WHERE site_id = ? AND status = 'published' ${fanClause} 183 183 ORDER BY COALESCE(published_at, created_at) DESC LIMIT 20`
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)