aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-15 14:51:32 +0200
committermousebot <mousebot@riseup.net>2021-10-15 14:51:32 +0200
commit13064aa96e0152da0dfbe93e5349aaef61646731 (patch)
tree4a639cae34dcd40190bf4734d735e95748d19ee7 /lisp
parent72c14d797fe3848429b64812fb7145d11253fc88 (diff)
revert "private" visibility = "followers only" in toot draft
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-toot.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 1afad8a..5b7d537 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -602,9 +602,13 @@ If REPLY-TO-ID is provided, set the MASTODON-TOOT--REPLY-TO-ID var."
(format "%s characters"
(- (point-max) (cdr header-region)))))
(add-text-properties (car visibility-region) (cdr visibility-region)
- (list 'display
- (format "Visibility: %s"
- mastodon-toot--visibility)))
+ (list 'display
+ (format "Visibility: %s"
+ (if (equal
+ mastodon-toot--visibility
+ "private")
+ "followers-only"
+ mastodon-toot--visibility))))
(add-text-properties (car nsfw-region) (cdr nsfw-region)
(list 'display (if mastodon-toot--content-nsfw
(if mastodon-toot--media-attachments