From 28d18698269d30515210ec8455de27734368178d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 16 Nov 2019 17:29:02 +0000 Subject: [PATCH] dms are not moderation posts --- posts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posts.py b/posts.py index 1f303f0b..b9ca67ee 100644 --- a/posts.py +++ b/posts.py @@ -1875,6 +1875,8 @@ def isDM(postJsonObject: {}) -> bool: return False if postJsonObject['object']['type']!='Note': return False + if postJsonObject['object'].get('moderationStatus'): + return False fields=['to','cc'] for f in fields: if not postJsonObject['object'].get(f):