From 1a44f09a1e8ecc1255c45220c7a0e1e11525e219 Mon Sep 17 00:00:00 2001 From: mousebot Date: Sat, 7 Aug 2021 15:57:36 +0200 Subject: replace 'toot-id with base-toot-id in mastodon-tl--oldest-id this is an attempt to avoid adding same toots instead of older toots on timelines. it seems to only happen sometimes, my guess it is happens when last toot displayed is favorited or boosted, perhaps only by the logged-in user. --- lisp/mastodon-tl.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 3cde7c3..9a69599 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -435,6 +435,7 @@ links in the text. If TOOT is nil no parsing occurs." (url-instance (concat "https://" (url-host (url-generic-parse-url url)))) (maybe-userhandle (if (string= mastodon-instance-url url-instance) + ; if handle is local, then no instance suffix: (buffer-substring-no-properties start end) (mastodon-tl--extract-userhandle-from-url url (buffer-substring-no-properties start end))))) @@ -787,7 +788,7 @@ Move forward (down) the timeline unless BACKWARD is non-nil." "Return toot-id from the bottom of the buffer." (save-excursion (goto-char (point-max)) - (mastodon-tl--property 'toot-id t))) + (mastodon-tl--property 'base-toot-id t))) (defun mastodon-tl--as-string (numeric) "Convert NUMERIC to string." -- cgit v1.2.3