From 4d49c35380000488e2c553d39f92f330020f5dfb Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 4 Jun 2024 12:31:53 +0200 Subject: fix sensitive prop test: json-false or t! --- lisp/mastodon-media.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-media.el') diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el index 9827ab8..5c286fb 100644 --- a/lisp/mastodon-media.el +++ b/lisp/mastodon-media.el @@ -184,7 +184,8 @@ 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 (not (get-text-property marker 'sensitive)) + (if (equal :json-false + (get-text-property marker 'sensitive)) ;; display image (put-text-property marker (+ marker region-length) 'display image) -- cgit v1.2.3