mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
check community.ap_outbox_url
This commit is contained in:
parent
19bd90475a
commit
7a7a1fe0d4
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue