aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-03-13 09:26:33 +0100
committermarty hiatt <martianhiatus@riseup.net>2024-03-13 09:26:33 +0100
commit7d0a20ac0ca871eff153cb7bc0e0ceda24a4858f (patch)
treef4ea1fb15e90dc2955dc2f4233a464e794a42c14 /lisp/mastodon-tl.el
parent4e19f18a1a6d5bd60673013751b4332be0ea445c (diff)
media: rewrite process-full-sized-image-response
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 4034ebf..d8cb865 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1149,11 +1149,10 @@ SENSITIVE is a flag from the item's JSON data."
(goto-char (point-min))
(zlib-decompress-region
(goto-char (search-forward "\n\n")) (point-max))
- (mastodon-media--process-full-sized-image-response
- nil nil url))
+ (mastodon-media--process-full-sized-image-response nil url))
;; else fetch and load:
(url-retrieve url #'mastodon-media--process-full-sized-image-response
- (list nil url)))))))
+ `(,url)))))))
;; POLLS