kopia lustrzana https://github.com/snarfed/bridgy-fed
second try at fixing AP followers/following collection
specifically https://console.cloud.google.com/errors/detail/CKyO04_I-4belQE;time=P1D;locations=global?project=bridgy-federated , first attempt was 593e199bdf
pull/2068/head
rodzic
3bee32758c
commit
1fe41d5a98
|
@ -1408,7 +1408,7 @@ def follower_collection(id, collection):
|
||||||
'type': 'CollectionPage',
|
'type': 'CollectionPage',
|
||||||
'partOf': request.base_url,
|
'partOf': request.base_url,
|
||||||
'items': util.trim_nulls(
|
'items': util.trim_nulls(
|
||||||
[ActivityPub.convert(f.user.obj, from_user=f.user)
|
[ActivityPub.convert(f.user.obj)
|
||||||
for f in followers if f.user.is_enabled(ActivityPub)]),
|
for f in followers if f.user.is_enabled(ActivityPub)]),
|
||||||
}
|
}
|
||||||
if new_before:
|
if new_before:
|
||||||
|
|
Ładowanie…
Reference in New Issue