From e78266aa28d23ee637348b092926db3376d5ec8c Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 15 May 2024 20:54:07 +1200 Subject: [PATCH] refresh display name when refreshing user profile --- app/activitypub/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/activitypub/util.py b/app/activitypub/util.py index bc45048b..4137936b 100644 --- a/app/activitypub/util.py +++ b/app/activitypub/util.py @@ -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']