aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-06-04 14:07:18 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-06-04 14:07:18 +0200
commit1528a130e7c3119a32b47586e3b206b8993243d8 (patch)
treea0aba4a1dced4d66282aa536e2965bcc4d8ece60 /lisp/mastodon-tl.el
parent4d49c35380000488e2c553d39f92f330020f5dfb (diff)
use sensitive image placeholder
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index cf5d316..5ad5e69 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1233,10 +1233,8 @@ SENSITIVE is a flag from the item's JSON data."
(add-text-properties (point) end
`( sensitive-state hidden
display
- ;; TODO: use an image placeholder
- ,(create-image mastodon-media--generic-broken-image-data nil t)
- ;; ,(mastodon-search--format-heading " SENSITIVE")
- )))))
+ ,(create-image
+ mastodon-media--sensitive-image-data nil t))))))
;; POLLS