forked from indymedia/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
|
return False
|
||||||
if messageJson['object'].get('inReplyTo'):
|
if messageJson['object'].get('inReplyTo'):
|
||||||
inReplyTo=messageJson['object']['inReplyTo']
|
inReplyTo=messageJson['object']['inReplyTo']
|
||||||
if not urlPermitted(inReplyTo,federationList):
|
if not urlPermitted(inReplyTo,federationList,"inbox:write"):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue