From bdfdb2c4f975139d76a9c2709c6277ed3bdbc1c1 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 9 Aug 2022 22:36:53 +0200 Subject: [PATCH] Tweak OG metadata --- app/utils/opengraph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/opengraph.py b/app/utils/opengraph.py index fccf43b..6a66fe1 100644 --- a/app/utils/opengraph.py +++ b/app/utils/opengraph.py @@ -67,6 +67,7 @@ async def external_urls( if tag.get("type") == "Mention" and tag["name"] != LOCAL_ACTOR.handle: mentioned_actor = await fetch_actor(db_session, tag["href"]) tags_hrefs.add(mentioned_actor.url) + tags_hrefs.add(mentioned_actor.ap_id) urls = set() if ro.content: