From 0f075f37e97f6f943676c5cfe8ca57027d319da7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 5 Aug 2020 13:16:15 +0100 Subject: [PATCH] Encrypted messages treated as DMs --- posts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/posts.py b/posts.py index f2aa61f4..df13d579 100644 --- a/posts.py +++ b/posts.py @@ -2400,6 +2400,7 @@ def isDM(postJsonObject: {}) -> bool: return False if postJsonObject['object']['type'] != 'Note' and \ postJsonObject['object']['type'] != 'Patch' and \ + postJsonObject['object']['type'] != 'EncryptedMessage' and \ postJsonObject['object']['type'] != 'Article': return False if postJsonObject['object'].get('moderationStatus'):