diff options
author | mousebot <mousebot@riseup.net> | 2021-08-07 15:57:36 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-08-07 15:57:36 +0200 |
commit | 1a44f09a1e8ecc1255c45220c7a0e1e11525e219 (patch) | |
tree | a9ee89d0a3f1b2841fc487c4d2a5749b79c1f4d0 | |
parent | d0d7c05519ea8f51df736d74e541517769bbffe0 (diff) |
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.
-rw-r--r-- | lisp/mastodon-tl.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." |