From d1e9f113e3d1a1e78c5e6659ec499310e2a0dd23 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 7 Oct 2020 22:10:34 +0100 Subject: [PATCH] Create public post rather than blog post --- newsdaemon.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/newsdaemon.py b/newsdaemon.py index 382a130b..4fb34c85 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -94,14 +94,15 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str, followersOnly = False useBlurhash = False - blog = createBlogPost(baseDir, - 'news', domain, port, httpPrefix, - rssDescription, followersOnly, False, - False, - None, None, None, useBlurhash, - None, None, rssTitle, - False, - None, None, None) + commentsEnabled = False + blog = createPublicPost(baseDir, + 'news', domain, port, httpPrefix, + rssDescription, followersOnly, False, + False, commentsEnabled, + None, None, None, useBlurhash, + None, None, rssTitle, + False, + None, None, None) if not blog: continue