From 7384db8e3a0c35bc896803a5701f74fd1b84b8e8 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 13 Mar 2024 10:49:58 +0100 Subject: process-full-sized-image-response - credit rahguzar --- lisp/mastodon-media.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el index 62a41de..77bf680 100644 --- a/lisp/mastodon-media.el +++ b/lisp/mastodon-media.el @@ -189,6 +189,8 @@ STATUS-PLIST is a plist of status events as per `url-retrieve'." (when mastodon-media--enable-image-caching (unless (url-is-cached url) ;; cache if not already cached (url-store-in-cache))) + ;; thanks to rahguzar for this idea: + ;; https://codeberg.org/martianh/mastodon.el/issues/540 (let* ((handle (mm-dissect-buffer t)) (image (mm-get-image handle)) (str (image-property image :data))) -- cgit v1.2.3