From 975e92b7f1fb92c2c0475e9ec65fd2521625252c Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Wed, 29 May 2024 03:57:44 -0700 Subject: [feature] Implement profile API (#2926) * Implement profile API This Mastodon 4.2 extension provides capabilities missing from the existing Mastodon account update API: deleting an account's avatar or header. See: https://docs.joinmastodon.org/methods/profile/ * Move profile media methods to media processor * Remove check for moved account --- internal/typeutils/defaulticons.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/typeutils/defaulticons.go') diff --git a/internal/typeutils/defaulticons.go b/internal/typeutils/defaulticons.go index bcb7b8c10..e3a090109 100644 --- a/internal/typeutils/defaulticons.go +++ b/internal/typeutils/defaulticons.go @@ -119,7 +119,7 @@ func (c *Converter) ensureAvatar(account *apimodel.Account) { account.AvatarStatic = avatar } -// EnsureAvatar ensures that the given account has a value set +// ensureHeader ensures that the given account has a value set // for the header URL. // // If no value is set, the default header will be set. -- cgit v1.2.3