From b59223a2f7b62720c647e06c0226aabb664e22c8 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Thu, 4 Aug 2022 07:41:09 +0200 Subject: [PATCH] Process opengraph metadata for inbox objects too --- app/boxes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/boxes.py b/app/boxes.py index b049dc4..d09ea94 100644 --- a/app/boxes.py +++ b/app/boxes.py @@ -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