From 5a7316b1b2c8945b939429fd1e1abddb4924d051 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 9 Mar 2026 10:36:15 -0400 Subject: [PATCH] fix: #14043, cold-load redirect should only affect guests --- src/controllers/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/posts.js b/src/controllers/posts.js index caa3df8959..cfda2c90bb 100644 --- a/src/controllers/posts.js +++ b/src/controllers/posts.js @@ -27,7 +27,7 @@ postsController.redirectToPost = async function (req, res, next) { // } // } - if (meta.config.activitypubEnabled && !res.locals.isAPI && !utils.isNumber(pid)) { + if (!req.loggedIn && meta.config.activitypubEnabled && !res.locals.isAPI && !utils.isNumber(pid)) { return helpers.redirect(res, `/outgoing?url=${encodeURIComponent(pid)}`); }