From a537e384932c2e771ae824fb3655983840f9f7a4 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 20 Apr 2026 11:47:28 -0400 Subject: [PATCH] fix: #14187, federate out note if no title, otherwise article. --- src/activitypub/mocks.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.js index 030175fb36..16d99a6b61 100644 --- a/src/activitypub/mocks.js +++ b/src/activitypub/mocks.js @@ -710,8 +710,7 @@ Mocks.notes.public = async (post) => { }); // Special handling for main posts (as:Article w/ as:Note preview) - const plaintext = posts.sanitizePlaintext(content); - const isArticle = post.pid === post.topic.mainPid && plaintext.length > meta.config.activitypubSummaryLimit; + const isArticle = post.pid === post.topic.mainPid && !generatedTitle; if (post.isMainPost) { const thumbs = await topics.thumbs.get(post.tid);