Tweak OG metadata

This commit is contained in:
Thomas Sileo 2022-08-09 22:36:53 +02:00
parent 02be684b8b
commit bdfdb2c4f9

View file

@ -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: