branch: elpa/mastodon
commit fbeaabd341dd02e3467ee271c7537944a10f5ec5
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    compose: fix quote policy string a different way.
---
 lisp/mastodon-toot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 279b7b8858..7bebeb7968 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -966,7 +966,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 +1317,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

Reply via email to