aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-media.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-01-07 13:54:08 +0100
committermousebot <mousebot@riseup.net>2022-01-11 19:49:30 +0100
commitb4a48b1e2d0a223024bac6940717866334176a9a (patch)
tree47d46f96089b464b1dae845f1d5c58601eb445dc /lisp/mastodon-media.el
parentb3890172faf554f9e7bee0049c615ec79947f4d8 (diff)
try an all-the-icons icon. not too sure about it tho.
its unicode
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r--lisp/mastodon-media.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 0a669cd..3789d5d 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -280,7 +280,12 @@ Replace them with the referenced image."
(type (get-text-property start 'mastodon-media-type)))
(when (or (equal type "gifv")
(equal type "video"))
- (overlay-put ov 'after-string " [ ⏯ ]"))))
+ (overlay-put
+ ov
+ 'after-string
+ (propertize " "
+ 'face
+ '((:height 1.5 :inherit 'font-lock-comment-face)))))))
(defun mastodon-media--get-avatar-rendering (avatar-url)
"Return the string to be written that renders the avatar at AVATAR-URL."