mirror of https://gitlab.com/bashrc2/epicyon
master
parent
b9310ed9ff
commit
3aec37b47e
2
inbox.py
2
inbox.py
|
@ -214,7 +214,7 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str, \
|
|||
replyDomain,replyPort=getDomainFromActor(postJsonObject['object']['inReplyTo'])
|
||||
if replyNickname and replyDomain:
|
||||
if isBlocked(baseDir,nickname,domain,postNickname,postDomain):
|
||||
print('WARN: post contains reply from a blocked domain: '+replyDomain)
|
||||
print('WARN: post contains reply to a blocked domain: '+replyDomain)
|
||||
return None
|
||||
if postJsonObject['object'].get('content'):
|
||||
if isinstance(postJsonObject['object']['content'], str):
|
||||
|
|
Loading…
Reference in New Issue