mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
refresh display name when refreshing user profile
This commit is contained in:
parent
ec7f38f0cb
commit
e78266aa28
1 changed files with 1 additions and 0 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue