aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-23 09:37:42 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-23 09:37:42 +0100
commit37bf61d3674063c7c6f726adccb142fecbf7fe75 (patch)
tree2beae13187c9d949d21d3cd7d2af66995499d017 /lisp/mastodon-toot.el
parent35487576acb349e8dc2b407d01d2a394957772dc (diff)
separate faves/boosts-count prop in toot-stats
this is so we can safely update the count display prop without touching the emoji
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 8183c27..82a9482 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -400,10 +400,8 @@ SUBTRACT means we are un-favouriting or unboosting, so we decrement."
(car count-prop-range)
(cdr count-prop-range)
(list 'display ; update the display prop:
- (concat
- (number-to-string
- (mastodon-toot--inc-or-dec count subtract))
- " ")
+ (number-to-string
+ (mastodon-toot--inc-or-dec count subtract))
;; update the count prop
;; we rely on this for any subsequent actions:
count-prop