From 818b7237c715956942f5708d58fb50ff681ded9a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 8 Nov 2020 15:46:48 +0000 Subject: [PATCH] Update rss description after editing news post --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 10f5e76fa..cdac5b1f4 100644 --- a/daemon.py +++ b/daemon.py @@ -166,6 +166,7 @@ from shares import getSharesFeedForPerson from shares import addShare from shares import removeShare from shares import expireShares +from utils import firstParagraphFromString from utils import clearFromPostCaches from utils import containsInvalidChars from utils import isSystemAccount @@ -3272,7 +3273,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.newswire[publishedDate][0] = \ newsPostTitle self.server.newswire[publishedDate][4] = \ - newsPostContent + firstParagraphFromString(newsPostContent) # save newswire newswireStateFilename = \ baseDir + '/accounts/.newswirestate.json'