Show icons if authorized

master
Bob Mottram 2019-09-06 10:18:52 +01:00
parent bdda0d29c2
commit 8129e28a96
1 changed files with 2 additions and 2 deletions

View File

@ -1899,11 +1899,11 @@ def htmlIndividualPost(baseDir: str,session,wfRequest: {},personCache: {}, \
postJsonObject: {},httpPrefix: str,projectVersion: str) -> str:
"""Show an individual post as html
"""
postStr='<script>'+contentWarningScript()+'</script>'
postStr='<script>'+contentWarningScript()+'</script>'
postStr+= \
individualPostAsHtml(None,baseDir,session,wfRequest,personCache, \
nickname,domain,port,postJsonObject,None,True,False, \
httpPrefix,projectVersion,False,False,False,False)
httpPrefix,projectVersion,False,authorized,False,False)
messageId=postJsonObject['id'].replace('/activity','')
# show the previous posts