Update rss description after editing news post

merge-requests/8/head
Bob Mottram 2020-11-08 15:46:48 +00:00
parent 46b3729506
commit 818b7237c7
1 changed files with 2 additions and 1 deletions

View File

@ -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'