fix: #14187, federate out note if no title, otherwise article.

This commit is contained in:
Julian Lam
2026-04-20 11:47:28 -04:00
parent e395fb0919
commit a537e38493

View File

@@ -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);