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

@ -4,6 +4,7 @@ type Settings struct {
DefaultVisibility string `json:"default_visibility"`
CopyScope bool `json:"copy_scope"`
ThreadInNewTab bool `json:"thread_in_new_tab"`
MaskNSFW bool `json:"mask_nfsw"`
}
func NewSettings() *Settings {
@ -11,5 +12,6 @@ func NewSettings() *Settings {
DefaultVisibility: "public",
CopyScope: true,
ThreadInNewTab: false,
MaskNSFW: true,
}
}