[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon bc83b400b1 40/63: fix unfolding faved/bookmarked
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon bc83b400b1 40/63: fix unfolding faved/bookmarked toots |
Date: |
Sun, 4 Aug 2024 04:00:35 -0400 (EDT) |
branch: elpa/mastodon
commit bc83b400b14240820a10606279709d8e5dfcdf9f
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
fix unfolding faved/bookmarked toots
---
lisp/mastodon-toot.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 3a88f333d7..a935c9ed5f 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -434,7 +434,7 @@ ACTION is a symbol, either `favourite' or `boost.'"
(mastodon-toot--action-success (if boost-p
(mastodon-tl--symbol
'boost)
(mastodon-tl--symbol
'favourite))
- byline-region remove))
+ byline-region remove
item-json))
(message "%s #%s" (if boost-p msg action) id)))))))))))
(defun mastodon-toot--inc-or-dec (count subtract)
@@ -499,7 +499,8 @@ SUBTRACT means we are un-favouriting or unboosting, so we
decrement."
(message (if bookmarked-p
"Bookmark removed!"
"Toot bookmarked!"))
- (remove (when bookmarked-p t)))
+ (remove (when bookmarked-p t))
+ (item-json (mastodon-tl--property 'item-json)))
(if (not byline-region)
(user-error "Nothing to %s here?!?" action)
(mastodon-toot--action
@@ -510,7 +511,7 @@ SUBTRACT means we are un-favouriting or unboosting, so we
decrement."
(cdr byline-region)
(list 'bookmarked-p (not bookmarked-p))))
(mastodon-toot--action-success bookmark-str
- byline-region remove)
+ byline-region remove item-json)
(message "%s #%s" message id)))))))))
(defun mastodon-toot--list-toot-boosters ()
- [nongnu] elpa/mastodon 6b0a0eb1fa 49/63: readme, index, info, (continued)
- [nongnu] elpa/mastodon 6b0a0eb1fa 49/63: readme, index, info, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 46b66e332a 58/63: commentary, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 7b4d77b86b 10/63: tl: no-refresh for next-item in --single-toot, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon b8e8328a35 04/63: use with-toot-item and clean up functions that use it, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 6721f40cfd 30/63: unfold toot: replace whole item on unfolding (so we have props!), ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 41404473ea 05/63: toot.el: user-error not message when needed, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 534644d2bd 13/63: toot: default to emoji.el, emojify customize, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 3ba86999d3 26/63: flymake toot.el, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 43cd626f6a 28/63: Merge branch 'emoji.el' into develop, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon c95a19b2d5 33/63: index update, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon bc83b400b1 40/63: fix unfolding faved/bookmarked toots,
ELPA Syncer <=
- [nongnu] elpa/mastodon dad54cccbc 46/63: fold-post-toggle, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 80ce719004 38/63: flymake our user-error mess, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 35a26600af 53/63: reimplement folding via insert body only., ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 0ef13ab348 55/63: fix prev-item-id, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 49261b91b0 59/63: Revert "replace persist with multisession", ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 351bd73875 54/63: fix prev-item-id, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 712a2af648 29/63: update info, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 0cd77c1880 37/63: Merge branch 'with-toot-item' into develop, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 82931c0869 14/63: readme, emoji, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 4e8d286164 12/63: mastodon-use-emojify customize, ELPA Syncer, 2024/08/04