aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-media.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-06-04 14:07:31 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-06-04 14:07:31 +0200
commit7c7f02b5b4211913324c5a1d18528f6533513830 (patch)
tree4f470e18c97989c348febd9a40ea2a8d3afc42d8 /lisp/mastodon-media.el
parent1528a130e7c3119a32b47586e3b206b8993243d8 (diff)
fix sensitive prop check
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r--lisp/mastodon-media.el3
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)