mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Tweak OG metadata
This commit is contained in:
parent
02be684b8b
commit
bdfdb2c4f9
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ async def external_urls(
|
||||||
if tag.get("type") == "Mention" and tag["name"] != LOCAL_ACTOR.handle:
|
if tag.get("type") == "Mention" and tag["name"] != LOCAL_ACTOR.handle:
|
||||||
mentioned_actor = await fetch_actor(db_session, tag["href"])
|
mentioned_actor = await fetch_actor(db_session, tag["href"])
|
||||||
tags_hrefs.add(mentioned_actor.url)
|
tags_hrefs.add(mentioned_actor.url)
|
||||||
|
tags_hrefs.add(mentioned_actor.ap_id)
|
||||||
|
|
||||||
urls = set()
|
urls = set()
|
||||||
if ro.content:
|
if ro.content:
|
||||||
|
|
Loading…
Reference in a new issue