diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-22 15:06:13 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-22 15:06:13 +0100 |
commit | ee65d8afcbd113c7a1104cf84b214fb87722b474 (patch) | |
tree | b4a62836c06ace122383ecc5adfe4916fbb44aab | |
parent | 09e38ba8b61c9a50e50453535d1e1f409a61a7ab (diff) |
attempt to fix --get-search params
-rw-r--r-- | lisp/mastodon-http.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index d1bf573..c94ea7a 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -286,7 +286,8 @@ SILENT means don't message." (let* ((query-str (mastodon-http--build-query-string `(("q" . ,(url-hexify-string query))))) (params-str (mastodon-http--build-query-string params)) - (url (concat base-url "?" query-str params-str))) + (url (concat base-url "?" query-str (when params-str + (concat "&" params-str))))) (mastodon-http--url-retrieve-synchronously url silent)))) ;; profile update functions |