aboutsummaryrefslogtreecommitdiff
path: root/model
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 /model
parent9e556721c507f5cfbafa32afbfa80b70c6f0eca1 (diff)
downloadbloat-1aff0569bfecf427d097a1601d9c5ac449c65d49.tar.gz
bloat-1aff0569bfecf427d097a1601d9c5ac449c65d49.zip
Add option to mask nsfw attachments
Diffstat (limited to 'model')
-rw-r--r--model/settings.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/model/settings.go b/model/settings.go
index 55db08a..02bebcb 100644
--- a/model/settings.go
+++ b/model/settings.go
@@ -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,
}
}