From 2487b589292976f830325eea39765beb44e4036a Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 1 Oct 2024 22:21:32 +0200 Subject: http--post: if :json, supply required headers --- lisp/mastodon-profile.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/mastodon-profile.el') diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index 6410591..ce7fddd 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -386,6 +386,8 @@ This is done after changing the setting on the server." Only do so if `mastodon-profile-account-settings' is nil." (mastodon-profile--fetch-server-account-settings :no-force)) +;; FIXME: this does one request per setting! should just do one request then +;; parse (defun mastodon-profile--fetch-server-account-settings (&optional no-force) "Fetch basic account settings from the server. Store the values in `mastodon-profile-account-settings'. -- cgit v1.2.3