forked from indymedia/epicyon
Moderation report title
parent
57f1b99a85
commit
7a83fb7b87
8
posts.py
8
posts.py
|
@ -762,6 +762,14 @@ def createReportPost(baseDir: str,
|
||||||
if port!=80 and port!=443:
|
if port!=80 and port!=443:
|
||||||
domainFull=domain+':'+str(port)
|
domainFull=domain+':'+str(port)
|
||||||
|
|
||||||
|
# add a title to distinguish moderation reports from other posts
|
||||||
|
reportTitle='Moderation Report'
|
||||||
|
if not subject:
|
||||||
|
subject=reportTitle
|
||||||
|
else:
|
||||||
|
if not subject.startswith(reportTitle):
|
||||||
|
subject=reportTitle+': '+subject
|
||||||
|
|
||||||
# create the list of moderators from teh moderators file
|
# create the list of moderators from teh moderators file
|
||||||
moderatorsList=[]
|
moderatorsList=[]
|
||||||
moderatorsFile=baseDir+'/accounts/moderators.txt'
|
moderatorsFile=baseDir+'/accounts/moderators.txt'
|
||||||
|
|
Loading…
Reference in New Issue