diff --git a/newsdaemon.py b/newsdaemon.py index f7edd161f..bb2e6d415 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -95,7 +95,7 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str, followersOnly = False useBlurhash = False blog = createNewsPost(baseDir, - 'news', domain, port, httpPrefix, + domain, port, httpPrefix, rssDescription, followersOnly, False, None, None, None, useBlurhash, rssTitle) diff --git a/posts.py b/posts.py index 41bc7e218..eaa47ec33 100644 --- a/posts.py +++ b/posts.py @@ -1197,7 +1197,7 @@ def createBlogPost(baseDir: str, def createNewsPost(baseDir: str, - nickname: str, domain: str, port: int, httpPrefix: str, + domain: str, port: int, httpPrefix: str, content: str, followersOnly: bool, saveToFile: bool, attachImageFilename: str, mediaType: str, imageDescription: str, useBlurhash: bool, @@ -1211,14 +1211,14 @@ def createNewsPost(baseDir: str, location = None blog = \ createPublicPost(baseDir, - nickname, domain, port, httpPrefix, - content, followersOnly, saveToFile, - clientToServer, - attachImageFilename, mediaType, - imageDescription, useBlurhash, - inReplyTo, inReplyToAtomUri, subject, - schedulePost, - eventDate, eventTime, location) + 'news', domain, port, httpPrefix, + content, followersOnly, saveToFile, + clientToServer, False, + attachImageFilename, mediaType, + imageDescription, useBlurhash, + inReplyTo, inReplyToAtomUri, subject, + schedulePost, + eventDate, eventTime, location) blog['object']['type'] = 'Article' return blog