diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-06-04 14:07:31 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-06-04 14:07:31 +0200 |
commit | 7c7f02b5b4211913324c5a1d18528f6533513830 (patch) | |
tree | 4f470e18c97989c348febd9a40ea2a8d3afc42d8 /lisp | |
parent | 1528a130e7c3119a32b47586e3b206b8993243d8 (diff) |
fix sensitive prop check
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-media.el | 3 |
1 files changed, 1 insertions, 2 deletions
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) |