branch: elpa/mastodon
commit 5fbda8d38164e486de5134f414703656ae6d3c25
Merge: ab16056a76 d8f3541c9d
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
Merge branch 'develop'
---
lisp/mastodon-profile.el | 2 +-
lisp/mastodon-toot.el | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index fa2cf8481b..0264c809dc 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -598,7 +598,7 @@ The endpoint only holds a few preferences. For others, see
(goto-char (point-min)))))
(defvar mastodon-profiles-quote-policy-types
- '(public followers nobody))
+ '("public" "followers" "nobody"))
(defun mastodon-profile-set-quote-policy ()
"Prompt for a quote policy and set it in the user's preferences."
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 279b7b8858..0b48da5436 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -245,8 +245,9 @@ Takes its form from `window-configuration-to-register'.")
(defvar-local mastodon-toot-quote-policy nil
"The quote policy for the current toot.
-Value must be a symbol, and a member of
`mastodon-profiles-quote-policy-types', i.e.
-public, followers, or nobody.")
+Value must be a string, and a member of
+`mastodon-profiles-quote-policy-types', i.e. public, followers, or
+nobody.")
(defvar-local mastodon-toot-quote-id nil)
@@ -966,7 +967,7 @@ instance to edit a toot."
("sensitive" . ,(when mastodon-toot--content-nsfw
(symbol-name t)))
("spoiler_text" . ,mastodon-toot--content-warning)
- ("quote_approval_policy" . ,(symbol-name
mastodon-toot-quote-policy))
+ ("quote_approval_policy" . ,mastodon-toot-quote-policy)
("language" . ,mastodon-toot--language)
("quoted_status_id" . ,mastodon-toot-quote-id))
;; Pleroma instances can't handle null-valued
@@ -1317,7 +1318,7 @@ With prefix ARG, read a visibility type in the
minibuffer."
"unlisted")
((string= mastodon-toot--visibility "unlisted")
;; XXX: followers-only means no quoting:
- (progn (setq mastodon-toot-quote-policy 'nobody)
+ (progn (setq mastodon-toot-quote-policy "nobody")
"private"))
((string= mastodon-toot--visibility "private")
(progn