refresh display name when refreshing user profile

This commit is contained in:
rimu 2024-05-15 20:54:07 +12:00
parent ec7f38f0cb
commit e78266aa28

View file

@ -467,6 +467,7 @@ def refresh_user_profile_task(user_id):
'indexable': new_indexable})
user.user_name = activity_json['preferredUsername']
user.title = activity_json['name']
user.about_html = parse_summary(activity_json)
user.ap_fetched_at = utcnow()
user.public_key = activity_json['publicKey']['publicKeyPem']