kopia lustrzana https://github.com/snarfed/bridgy-fed
add URL to notification feed entries
rodzic
6add016b7e
commit
a0a92d4f3e
2
pages.py
2
pages.py
|
@ -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 = []
|
||||
|
|
Ładowanie…
Reference in New Issue