From 7d0a20ac0ca871eff153cb7bc0e0ceda24a4858f Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 13 Mar 2024 09:26:33 +0100 Subject: media: rewrite process-full-sized-image-response --- lisp/mastodon-tl.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lisp/mastodon-tl.el') 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 -- cgit v1.2.3