forked from indymedia/epicyon
Encrypted messages treated as DMs
parent
b554256a1f
commit
0f075f37e9
1
posts.py
1
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'):
|
||||
|
|
Loading…
Reference in New Issue