[bugfix] Fix web media not showing as sensitive (#2433)

* [bugfix] Fix web media not showing as sensitive

* test

* go fmt
This commit is contained in:
tobi
2023-12-09 16:54:38 +01:00
committed by GitHub
parent c6d6fec17d
commit cc91ea057d
6 changed files with 145 additions and 12 deletions

View File

@ -83,7 +83,7 @@ type Status struct {
// The account that authored this status.
Account *Account `json:"account"`
// Media that is attached to this status.
MediaAttachments []Attachment `json:"media_attachments"`
MediaAttachments []*Attachment `json:"media_attachments"`
// Mentions of users within the status content.
Mentions []Mention `json:"mentions"`
// Hashtags used within the status content.