branch: elpa/mastodon
commit 7c7f02b5b4211913324c5a1d18528f6533513830
Author: marty hiatt <martianhia...@riseup.net>
Commit: marty hiatt <martianhia...@riseup.net>

    fix sensitive prop check
---
 lisp/mastodon-media.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 2a4f9c44b2..ccc0893f8d 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)

Reply via email to