mirror of
				https://git.sr.ht/~tsileo/microblog.pub
				synced 2025-06-05 21:59:23 +02:00 
			
		
		
		
	Process opengraph metadata for inbox objects too
This commit is contained in:
		| @@ -1209,6 +1209,7 @@ async def _process_note_object( | |||||||
|         relates_to_inbox_object_id=parent_activity.id, |         relates_to_inbox_object_id=parent_activity.id, | ||||||
|         relates_to_outbox_object_id=None, |         relates_to_outbox_object_id=None, | ||||||
|         activity_object_ap_id=ro.activity_object_ap_id, |         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 |         # Hide replies from the stream | ||||||
|         is_hidden_from_stream=not ( |         is_hidden_from_stream=not ( | ||||||
|             (not is_reply and is_from_following) or is_mention or is_local_reply |             (not is_reply and is_from_following) or is_mention or is_local_reply | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user