From cc91ea057da671ca572b6fae1a65b2acd47b6a66 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 9 Dec 2023 16:54:38 +0100 Subject: [bugfix] Fix web media not showing as sensitive (#2433) * [bugfix] Fix web media not showing as sensitive * test * go fmt --- internal/api/model/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/model/status.go') diff --git a/internal/api/model/status.go b/internal/api/model/status.go index 5c54bfe96..128cd65bb 100644 --- a/internal/api/model/status.go +++ b/internal/api/model/status.go @@ -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. -- cgit v1.2.3