aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-02 16:17:37 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-02 16:20:30 +0200
commit0ef13ab348d0b6b6fde5a8ecf3b5131917c24c34 (patch)
treeaea31e62a18e991155a07eaa24c56072277be5c1 /lisp/mastodon-tl.el
parente66ce7b6fb55a5f78a840ca4c00aa9773bbc9e4f (diff)
fix prev-item-id
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 797b355..2660ef5 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1494,11 +1494,11 @@ Runs `mastodon-tl--render-text' and fetches poll or media."
"Return the id of the last toot inserted into the buffer."
(let* ((prev-change
(save-excursion
- (previous-single-property-change (point) 'base-toot-id)))
+ (previous-single-property-change (point) 'base-item-id)))
(prev-pos
(when prev-change (1- prev-change))))
(when prev-pos
- (get-text-property prev-pos 'base-toot-id))))
+ (get-text-property prev-pos 'base-item-id))))
(defun mastodon-tl--after-reply-status (reply-to-id)
"T if REPLY-TO-ID is equal to that of the last toot inserted in the bufer."