diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-06-04 12:31:53 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-06-04 12:31:53 +0200 |
commit | 4d49c35380000488e2c553d39f92f330020f5dfb (patch) | |
tree | c1bb4065893c8bb5e3376ed5a77b4bb7673dc50a | |
parent | 7d27e4d5ff7f2e5c330f23ec119b6aeca30031e3 (diff) |
fix sensitive prop test: json-false or t!
-rw-r--r-- | lisp/mastodon-media.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |