From 5e022b655b654fe1967c848b45b1400fff502d37 Mon Sep 17 00:00:00 2001 From: mousebot Date: Sat, 19 Jun 2021 15:52:43 +0200 Subject: feed notfication ID to mastodon-notifications--insert-status which is a copy of mastodon-tl--insert-status. this makes the 'toot-id of notifications that of the favoriting/boosting item, rather than the item boosted/favorited. this ID is needed in order to make loading more older notifications work correctly. beforehand, the call would be incorrect and the same latest 20 notifications would load. --- lisp/mastodon-tl.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 10b867c..77caf13 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1171,8 +1171,8 @@ UPDATE-FUNCTION is used to recieve more toots." (with-current-buffer buffer (setq mastodon-tl--buffer-spec `(buffer-name ,buffer - endpoint ,endpoint update-function - ,update-function) + endpoint ,endpoint + update-function ,update-function) mastodon-tl--timestamp-update-timer (when mastodon-tl--enable-relative-timestamps (run-at-time mastodon-tl--timestamp-next-update -- cgit v1.2.3