forked from indymedia/epicyon
Moderation reports are not replies
parent
26d561d4d7
commit
d13b2511c2
2
posts.py
2
posts.py
|
@ -1937,6 +1937,8 @@ def isReply(postJsonObject: {},actor: str) -> bool:
|
||||||
return False
|
return False
|
||||||
if not isinstance(postJsonObject['object'], dict):
|
if not isinstance(postJsonObject['object'], dict):
|
||||||
return False
|
return False
|
||||||
|
if postJsonObject['object'].get('moderationStatus'):
|
||||||
|
return False
|
||||||
if postJsonObject['object']['type']!='Note':
|
if postJsonObject['object']['type']!='Note':
|
||||||
return False
|
return False
|
||||||
if postJsonObject['object'].get('inReplyTo'):
|
if postJsonObject['object'].get('inReplyTo'):
|
||||||
|
|
Loading…
Reference in New Issue