diff --git a/webapp_post.py b/webapp_post.py index c778aeda5..90b55cbaa 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -109,7 +109,7 @@ def _htmlPostMetadataOpenGraph(domain: str, postJsonObject: {}) -> str: " \n" if not objJson.get('attachment'): - if objJson.get('content'): + if objJson.get('content') and not objJson.get('sensitive'): description = removeHtml(objJson['content']) metadata += \ " str: elif attachJson['mediaType'].startswith('audio/'): description = 'Attached: 1 audio' if description: - if objJson.get('content'): + if objJson.get('content') and not objJson.get('sensitive'): description += '\n\n' + removeHtml(objJson['content']) metadata += \ "