aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-media.el3
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)