From d13b2511c2e4074d6512146e6510a0890de8984f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 16 Nov 2019 22:18:20 +0000 Subject: [PATCH] Moderation reports are not replies --- posts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posts.py b/posts.py index d98b3434..2997519f 100644 --- a/posts.py +++ b/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'):