diff options
author | 2021-04-20 18:14:23 +0200 | |
---|---|---|
committer | 2021-04-20 18:14:23 +0200 | |
commit | dafc3b5b92865b97be48456e02ad235f4c79cf4e (patch) | |
tree | 0f97edf4377f406df321054d26e731ff5dcc6667 /internal/mastotypes | |
parent | Api/v1/statuses (#11) (diff) | |
download | gotosocial-dafc3b5b92865b97be48456e02ad235f4c79cf4e.tar.xz |
linting + organizing
Diffstat (limited to 'internal/mastotypes')
-rw-r--r-- | internal/mastotypes/mastomodel/status.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/internal/mastotypes/mastomodel/status.go b/internal/mastotypes/mastomodel/status.go index a27a0e6a2..f5cc07a06 100644 --- a/internal/mastotypes/mastomodel/status.go +++ b/internal/mastotypes/mastomodel/status.go @@ -105,15 +105,16 @@ type StatusCreateRequest struct { Language string `form:"language"` } +// Visibility denotes the visibility of this status to other users type Visibility string const ( - // visible to everyone + // VisibilityPublic means visible to everyone VisibilityPublic Visibility = "public" - // visible to everyone but only on home timelines or in lists + // VisibilityUnlisted means visible to everyone but only on home timelines or in lists VisibilityUnlisted Visibility = "unlisted" - // visible to followers only + // VisibilityPrivate means visible to followers only VisibilityPrivate Visibility = "private" - // visible only to tagged recipients + // VisibilityDirect means visible only to tagged recipients VisibilityDirect Visibility = "direct" ) |