From 7c7f02b5b4211913324c5a1d18528f6533513830 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 4 Jun 2024 14:07:31 +0200 Subject: fix sensitive prop check --- lisp/mastodon-media.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/mastodon-media.el') diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el index 2a4f9c4..ccc0893 100644 --- a/lisp/mastodon-media.el +++ b/lisp/mastodon-media.el @@ -314,8 +314,7 @@ MARKER, REGION-LENGTH and IMAGE are from `mastodon-media--process-image-response'. If the image is marked sensitive, the image is stored in image-data prop so it can be toggled." - (if (equal :json-false - (get-text-property marker 'sensitive)) + (if (not (equal t (get-text-property marker 'sensitive))) ;; display image (put-text-property marker (+ marker region-length) 'display image) -- cgit v1.2.3