From 7a7a1fe0d43f203252d25089b61d9ed9d69ef2d2 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Sat, 30 Nov 2024 14:22:48 +1300 Subject: [PATCH] check community.ap_outbox_url --- app/community/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/community/util.py b/app/community/util.py index 36f3363d..19079d14 100644 --- a/app/community/util.py +++ b/app/community/util.py @@ -170,7 +170,7 @@ def retrieve_mods_and_backfill(community_id: int): return # download 50 old posts - if community.ap_public_url: + if community.ap_outbox_url: outbox_request = get_request(community.ap_outbox_url, headers={'Accept': 'application/activity+json'}) if outbox_request.status_code == 200: outbox_data = outbox_request.json()