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
Ryan Barrett 2025-08-29 11:48:56 -07:00
rodzic 3bee32758c
commit 1fe41d5a98
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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: