Fix #1999: broken federation with pods using allow-listing

This commit is contained in:
Agate 2020-08-24 13:43:31 +02:00
commit 641e1525ac
5 changed files with 23 additions and 4 deletions

View file

@ -13,6 +13,7 @@ logger = logging.getLogger(__name__)
def get_actor_data(actor_url):
logger.debug("Fetching actor %s", actor_url)
response = session.get_session().get(
actor_url, headers={"Accept": "application/activity+json"},
)