mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-16 21:47:34 -06:00
[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
This commit is contained in:
parent
f9a4a6120d
commit
975e92b7f1
6 changed files with 405 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue