kopia lustrzana https://github.com/snarfed/bridgy-fed
notifs feeds: add id
rodzic
57a1a33d63
commit
6c1565b087
1
pages.py
1
pages.py
|
@ -207,6 +207,7 @@ def serve_feed(*, objects, format, title, as_snippets=False, quiet=False):
|
||||||
if as_snippets:
|
if as_snippets:
|
||||||
activities = [{
|
activities = [{
|
||||||
'objectType': 'note',
|
'objectType': 'note',
|
||||||
|
'id': obj.key.id(),
|
||||||
'content': f'{obj.actor_link(image=False)} {obj.phrase} {obj.content}',
|
'content': f'{obj.actor_link(image=False)} {obj.phrase} {obj.content}',
|
||||||
'content_is_html': True,
|
'content_is_html': True,
|
||||||
'updated': obj.updated.isoformat(),
|
'updated': obj.updated.isoformat(),
|
||||||
|
|
Ładowanie…
Reference in New Issue