diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-24 15:59:42 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-24 15:59:42 +0100 |
commit | 99c1c63c020de258e48f6636b563421187fb6dac (patch) | |
tree | a5b2eaf2a078ced0898658f8406d2ce356101f72 /lisp/mastodon.el | |
parent | 69c817d1a901f0aaa871f2679659f64fc438c40b (diff) | |
parent | 54bf253a26c899a21dec819033b51831684a6eb5 (diff) |
Merge branch 'params-always-in-http-el' into develop
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r-- | lisp/mastodon.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 04330f6..921e3af 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -313,8 +313,9 @@ not, just browse the URL in the normal fashion." (browse-url query) (message "Performing lookup...") (let* ((url (format "%s/api/v2/search" mastodon-instance-url)) - (param (concat "resolve=t")) ; webfinger - (response (mastodon-http--get-search-json url query param :silent))) + (params `(("q" . ,query) + ("resolve" . "t"))) ; webfinger + (response (mastodon-http--get-json url params :silent))) (cond ((not (seq-empty-p (alist-get 'statuses response))) (let* ((statuses (assoc 'statuses response)) |