main
Bob Mottram 2021-09-20 17:14:24 +01:00
parent 94e2be67ee
commit 2074fe5235
1 changed files with 3 additions and 0 deletions

View File

@ -980,6 +980,9 @@ def sendFollowRequest(session, baseDir: str,
projectVersion: str, signingPrivateKeyPem: str) -> {}: projectVersion: str, signingPrivateKeyPem: str) -> {}:
"""Gets the json object for sending a follow request """Gets the json object for sending a follow request
""" """
if not signingPrivateKeyPem:
print('WARN: follow request without signing key')
if not domainPermitted(followDomain, federationList): if not domainPermitted(followDomain, federationList):
print('You are not permitted to follow the domain ' + followDomain) print('You are not permitted to follow the domain ' + followDomain)
return None return None