diff options
author | 2024-06-06 12:22:16 +0200 | |
---|---|---|
committer | 2024-06-06 11:22:16 +0100 | |
commit | 6f26b32ec3ed57ed3b04cba357abb9ee5060f229 (patch) | |
tree | 9d44758d64f6d9530c1ed04c1dd1a204105f2419 /internal/api/model/account.go | |
parent | [bugfix] concurrent map writes in dereferencer media processing maps (#2964) (diff) | |
download | gotosocial-6f26b32ec3ed57ed3b04cba357abb9ee5060f229.tar.xz |
[bugfix] Don't nil emojis + fields on blocked accounts (#2968)
* [bugfix] Don't nil emojis + fields on blocked accounts
* comment
* swagger
Diffstat (limited to 'internal/api/model/account.go')
-rw-r--r-- | internal/api/model/account.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/model/account.go b/internal/api/model/account.go index de850637e..a2f7b46b6 100644 --- a/internal/api/model/account.go +++ b/internal/api/model/account.go @@ -79,8 +79,10 @@ type Account struct { // example: 2021-07-30T09:20:25+00:00 LastStatusAt *string `json:"last_status_at"` // Array of custom emojis used in this account's note or display name. + // Empty for blocked accounts. Emojis []Emoji `json:"emojis"` // Additional metadata attached to this account's profile. + // Empty for blocked accounts. Fields []Field `json:"fields"` // Account has been suspended by our instance. Suspended bool `json:"suspended,omitempty"` |