From 30a3f5606b5eb9b10f48a1e358e1415b7bb016e8 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 9 Oct 2024 09:13:53 +0200 Subject: transient: fix user settings sending source keys --- lisp/mastodon-transient.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon-transient.el b/lisp/mastodon-transient.el index 946d28a..fe70eac 100644 --- a/lisp/mastodon-transient.el +++ b/lisp/mastodon-transient.el @@ -90,9 +90,9 @@ the format fields.X.keyname." (transient-define-suffix mastodon-user-settings-update (&optional args) "Update current user settings on the server." :transient 'transient--do-exit - ;; interactive receives args from the prefix: (interactive (list (transient-args 'mastodon-user-settings))) - (let* ((strs (tp-parse-args-for-send args :strings)) + (let* ((parsed (tp-parse-args-for-send args :strings)) + (strs (mastodon-transient-parse-source-keys parsed)) (url (mastodon-http--api "accounts/update_credentials")) (resp (mastodon-http--patch url strs))) ;; :json fails (mastodon-http--triage -- cgit v1.2.3