aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-media.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-22 12:09:20 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-22 12:09:20 +0200
commit8b6e7a2312556552fd26f81d7ebafc94e3ef1316 (patch)
tree1a2e2bf8188108f8102d2c6ac90ccfbf1ae057a5 /lisp/mastodon-media.el
parent4c5f5ef110a0a1dbf2044106c11d3cae975f7d73 (diff)
parentbeeb8f3b2ebe25e8e3fb92e6f030cec39b818cec (diff)
Merge branch 'equal' into develop
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r--lisp/mastodon-media.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 620aa51..2ec498e 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -449,8 +449,8 @@ Replace them with the referenced image."
(put-text-property start end 'media-state 'loading)
(mastodon-media--load-image-from-url
image-url media-type start (- end start))
- (when (or (equal type "gifv")
- (equal type "video"))
+ (when (or (string= type "gifv")
+ (string= type "video"))
(mastodon-media--moving-image-overlay start end))))))))
;; (defvar-local mastodon-media--overlays nil