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
|
||||
if not isinstance(postJsonObject['object'], dict):
|
||||
return False
|
||||
if postJsonObject['object'].get('moderationStatus'):
|
||||
return False
|
||||
if postJsonObject['object']['type']!='Note':
|
||||
return False
|
||||
if postJsonObject['object'].get('inReplyTo'):
|
||||
|
|
Loading…
Reference in New Issue