forked from indymedia/epicyon
Don't apply to blog posts
This commit is contained in:
1 parent
e3c704f8b1
commit
4a22804343
1 file changed
+4
@@ -48,6 +48,10 @@ def labelAccusatoryPost(postJsonObject: {}, translate: {}, threshold=3):
|
||||
return
|
||||
if not postJsonObject['object'].get('content'):
|
||||
return
|
||||
if not postJsonObject['object'].get('type'):
|
||||
return
|
||||
if postJsonObject['object']['type'] == 'Article':
|
||||
return
|
||||
if postJsonObject['object'].get('inReplyTo'):
|
||||
return
|
||||
if not isinstance(postJsonObject['object']['content'], str):
|
||||
|
||||
Reference in new issue
Block a user