summaryrefslogtreecommitdiff
path: root/internal/api/model/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/model/status.go')
-rw-r--r--internal/api/model/status.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/model/status.go b/internal/api/model/status.go
index fe82f09e3..ec09f702d 100644
--- a/internal/api/model/status.go
+++ b/internal/api/model/status.go
@@ -127,6 +127,10 @@ type Status struct {
type WebStatus struct {
*Status
+ // HTML version of spoiler content
+ // (ie., not converted to plaintext).
+ SpoilerContent string `json:"-"`
+
// Override API account with web account.
Account *WebAccount `json:"account"`