aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 2232cc8..7c5472b 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1329,8 +1329,7 @@ which is used to attach it to a toot when posting."
(defun mastodon-toot--format-attachments ()
"Format the attachment previews for display in toot draft buffer."
(or
- (let ((image-options (when (or (image-type-available-p 'imagemagick)
- (image-transforms-p))
+ (let ((image-options (when (mastodon-tl--image-trans-check)
`(:height ,mastodon-toot--attachment-height))))
(cl-loop for count from 1
for att in mastodon-toot--media-attachments