aboutsummaryrefslogtreecommitdiff
path: root/mastodon
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-31 11:00:21 +0000
committerr <r@freesoftwareextremist.com>2019-12-31 11:24:39 +0000
commit1aff0569bfecf427d097a1601d9c5ac449c65d49 (patch)
treed1d923b663709c751628ef362eb19bd3a82ac148 /mastodon
parent9e556721c507f5cfbafa32afbfa80b70c6f0eca1 (diff)
downloadbloat-1aff0569bfecf427d097a1601d9c5ac449c65d49.tar.gz
bloat-1aff0569bfecf427d097a1601d9c5ac449c65d49.zip
Add option to mask nsfw attachments
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/status.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/mastodon/status.go b/mastodon/status.go
index 298c666..6646c60 100644
--- a/mastodon/status.go
+++ b/mastodon/status.go
@@ -55,6 +55,7 @@ type Status struct {
ReplyMap map[string][]ReplyInfo `json:"reply_map"`
ReplyNumber int `json:"reply_number"`
ThreadInNewTab bool `json:"thread_in_new_tab"`
+ MaskNSFW bool `json:"mask_nsfw"`
}
// Context hold information for mastodon context.