sameAs as an alternative to alsoKnownAs

main
Bob Mottram 2023-04-29 14:59:30 +01:00
parent aa9b2fb1e4
commit 67e2e23f7e
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int,
also_known_as = None
if profile_json.get('alsoKnownAs'):
also_known_as = profile_json['alsoKnownAs']
elif profile_json.get('sameAs'):
also_known_as = profile_json['sameAs']
joined_date = None
if profile_json.get('published'):