From df0700e35278d0ab4e9c044a9a83de501902179c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 22 Jan 2021 13:42:22 +0000 Subject: [PATCH] Display name --- mastoapiv1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoapiv1.py b/mastoapiv1.py index 87881d92c..40ba8cd2a 100644 --- a/mastoapiv1.py +++ b/mastoapiv1.py @@ -62,7 +62,7 @@ def getMastoApiV1Account(baseDir: str, nickname: str, domain: str) -> {}: "id": getMastoApiV1IdFromNickname(nickname), "username": nickname, "acct": nickname, - "display_name": accountJson['preferredUsername'], + "display_name": accountJson['name'], "locked": accountJson['manuallyApprovesFollowers'], "created_at": "", "followers_count": 0,