diff options
author | r <r@freesoftwareextremist.com> | 2020-04-25 09:35:18 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-04-25 09:35:18 +0000 |
commit | f380371654dd81b258e5f37e50ffcf3764f117c1 (patch) | |
tree | edfa323e84ea3264a7a0cf7ba4a3ee58895cbcf0 /model | |
parent | 1e750f89b156c601fa5cfbda21e8c4b46be85b18 (diff) | |
download | bloat-f380371654dd81b258e5f37e50ffcf3764f117c1.tar.gz bloat-f380371654dd81b258e5f37e50ffcf3764f117c1.zip |
Add option to hide attachments
Diffstat (limited to 'model')
-rw-r--r-- | model/settings.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/model/settings.go b/model/settings.go index b1463c7..fa69672 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"` + HideAttachments bool `json:"hide_attachments"` MaskNSFW bool `json:"mask_nfsw"` AutoRefreshNotifications bool `json:"auto_refresh_notifications"` FluorideMode bool `json:"fluoride_mode"` @@ -15,6 +16,7 @@ func NewSettings() *Settings { DefaultVisibility: "public", CopyScope: true, ThreadInNewTab: false, + HideAttachments: false, MaskNSFW: true, AutoRefreshNotifications: false, FluorideMode: false, |