mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-02 10:04:22 +00:00
Add option to mask nsfw attachments
This commit is contained in:
parent
9e556721c5
commit
1aff0569bf
6 changed files with 32 additions and 6 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue