aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index a76aa1a..7139761 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -107,9 +107,14 @@
(mastodon-tl--byline-author reblog)))))
(defun mastodon-tl--byline (toot)
- (let ((id (cdr (assoc 'id toot))))
+ (let ((id (cdr (assoc 'id toot)))
+ (boosted (or (cdr (assoc 'reblogged toot))
+ (cdr (assoc 'reblogged
+ (cdr (assoc 'reblog toot)))))))
(propertize
(concat (propertize "\n | " 'face 'default)
+ (when boosted
+ (format "(%s) " (propertize "B" 'face 'success)))
(mastodon-tl--byline-author toot)
(mastodon-tl--byline-boosted toot)
(propertize "\n ------------" 'face 'default))