mirror of https://gitlab.com/bashrc2/epicyon
Missing parameter
parent
b48080dad2
commit
9772c0116f
2
inbox.py
2
inbox.py
|
@ -149,7 +149,7 @@ def inboxPermittedMessage(domain: str,messageJson: {},federationList: []) -> boo
|
|||
return False
|
||||
if messageJson['object'].get('inReplyTo'):
|
||||
inReplyTo=messageJson['object']['inReplyTo']
|
||||
if not urlPermitted(inReplyTo,federationList):
|
||||
if not urlPermitted(inReplyTo,federationList,"inbox:write"):
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue