forked from indymedia/epicyon
Only public posts with hashtags are indexed
parent
2941b9df33
commit
4dccb042b0
6
posts.py
6
posts.py
|
@ -435,6 +435,12 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
|
|||
if hashtagsDict:
|
||||
for tagName,tag in hashtagsDict.items():
|
||||
tags.append(tag)
|
||||
isPublic=False
|
||||
for recipient in toRecipients:
|
||||
if recipient.endswith('#Public'):
|
||||
isPublic=True
|
||||
break
|
||||
if isPublic:
|
||||
updateHashtagsIndex(baseDir,tag,newPostId)
|
||||
|
||||
if not clientToServer:
|
||||
|
|
Loading…
Reference in New Issue