add URL to notification feed entries

pull/691/head
Ryan Barrett 2023-10-17 10:09:32 -07:00
rodzic 6add016b7e
commit a0a92d4f3e
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

@ -225,11 +225,11 @@ def serve_feed(*, objects, format, title, as_snippets=False, quiet=False):
'content': f'{obj.actor_link(image=False)} {obj.phrase} {obj.content}',
'content_is_html': True,
'updated': obj.updated.isoformat(),
'url': as1.get_url(obj.as1) or as1.get_url(as1.get_object(obj.as1)),
} for obj in objects]
else:
activities = [obj.as1 for obj in objects]
# hydrate authors, actors, objects from stored Objects
fields = 'author', 'actor', 'object'
gets = []