mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Process opengraph metadata for inbox objects too
This commit is contained in:
parent
8cfac8df6a
commit
b59223a2f7
1 changed files with 1 additions and 0 deletions
|
@ -1209,6 +1209,7 @@ async def _process_note_object(
|
|||
relates_to_inbox_object_id=parent_activity.id,
|
||||
relates_to_outbox_object_id=None,
|
||||
activity_object_ap_id=ro.activity_object_ap_id,
|
||||
og_meta=await opengraph.og_meta_from_note(ro.ap_object),
|
||||
# Hide replies from the stream
|
||||
is_hidden_from_stream=not (
|
||||
(not is_reply and is_from_following) or is_mention or is_local_reply
|
||||
|
|
Loading…
Reference in a new issue