aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-http.el3
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