branch: elpa/mastodon
commit 0ef13ab348d0b6b6fde5a8ecf3b5131917c24c34
Author: marty hiatt <martianhia...@riseup.net>
Commit: marty hiatt <martianhia...@riseup.net>

    fix prev-item-id
---
 lisp/mastodon-tl.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 797b355efb..2660ef53ea 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."

Reply via email to