Changeset 86cfa1a in Klonkt for src/routes
- Timestamp:
- 09/30/2026 07:00:30 AM (5 hours ago)
- Branches:
- main
- Children:
- fd8faf5
- Parents:
- 9eb6e1b
- Location:
- src/routes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/routes/posts.js
r9eb6e1b r86cfa1a 881 881 try { target = await ActivityPubService.resolveRemoteNote(uri, site ? { asSlug: site.slug } : {}); } catch { /* ignore */ } 882 882 // Not a post? Maybe the URI is a profile/actor → offer Follow, not reply. 883 if (!target) { try { followTarget = await ActivityPubService.resolveRemoteActor(uri ); } catch { /* ignore */ } }883 if (!target) { try { followTarget = await ActivityPubService.resolveRemoteActor(uri, site ? { asSlug: site.slug } : {}); } catch { /* ignore */ } } 884 884 } 885 885 renderPage(req, res, 'pages/authorize-interaction', { -
src/routes/search.js
r9eb6e1b r86cfa1a 120 120 if (remote) remoteKind = 'note'; 121 121 if (!remote) { 122 try { remote = await ActivityPubService.resolveRemoteActor(remoteUri); } catch { /* onbereikbaar */ } 122 // Ook ondertekend: een profiel op een instance met authorized fetch 123 // (mastodon.social) geeft anders een 401 en leek dan niet te bestaan. 124 try { remote = await ActivityPubService.resolveRemoteActor(remoteUri, { asSlug: site.slug }); } catch { /* onbereikbaar */ } 123 125 if (remote) remoteKind = 'actor'; 124 126 }
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)