diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/post.go | 1 | ||||
-rw-r--r-- | model/settings.go | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/model/post.go b/model/post.go index 7cfead7..831f74f 100644 --- a/model/post.go +++ b/model/post.go @@ -7,6 +7,7 @@ type PostFormat struct { type PostContext struct { DefaultVisibility string + DefaultFormat string ReplyContext *ReplyContext Formats []PostFormat DarkMode bool diff --git a/model/settings.go b/model/settings.go index 03e9581..337a6a3 100644 --- a/model/settings.go +++ b/model/settings.go @@ -2,6 +2,7 @@ package model type Settings struct { DefaultVisibility string `json:"default_visibility"` + DefaultFormat string `json:"default_format"` CopyScope bool `json:"copy_scope"` ThreadInNewTab bool `json:"thread_in_new_tab"` HideAttachments bool `json:"hide_attachments"` @@ -15,6 +16,7 @@ type Settings struct { func NewSettings() *Settings { return &Settings{ DefaultVisibility: "public", + DefaultFormat: "", CopyScope: true, ThreadInNewTab: false, HideAttachments: false, |