diff --git a/webinterface.py b/webinterface.py index 3c62360a0..34d3dd875 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2044,7 +2044,11 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ footerStr+=''+publishedStr+'' footerStr+='' - if not postJsonObject['object']['sensitive']: + isSensitive=False + if postJsonObject['object'].get('sensitive'): + isSensitive=postJsonObject['object']['sensitive']: + + if not isSensitive: contentStr=postJsonObject['object']['content']+attachmentStr contentStr=addEmbeddedElements(translate,contentStr) contentStr=insertQuestion(translate,nickname,contentStr,postJsonObject,pageNumber)