Add option to mask nsfw attachments

This commit is contained in:
r 2019-12-31 11:00:21 +00:00
parent 9e556721c5
commit 1aff0569bf
6 changed files with 32 additions and 6 deletions

View file

@ -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.