Backfill: set remote user's indexable status same on first fetch as later refresh

This commit is contained in:
freamon 2024-09-04 15:58:13 +00:00
parent 5ecb66988b
commit 0d30b152cc

View file

@ -698,7 +698,7 @@ def actor_json_to_model(activity_json, address, server):
email=f"{address}@{server}",
about_html=parse_summary(activity_json),
matrix_user_id=activity_json['matrixUserId'] if 'matrixUserId' in activity_json else '',
indexable=activity_json['indexable'] if 'indexable' in activity_json else False,
indexable=activity_json['indexable'] if 'indexable' in activity_json else True,
searchable=activity_json['discoverable'] if 'discoverable' in activity_json else True,
created=activity_json['published'] if 'published' in activity_json else utcnow(),
ap_id=f"{address.lower()}@{server.lower()}",