aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 2aea4f4..0f3862a 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2350,7 +2350,8 @@ HEADERS is the http headers returned in the response, if any."
;; FIXME: max-id pagination works for statuses only, not other
;; search results pages:
(json (cond ((equal "statuses" (mastodon-search--buf-type))
- (alist-get 'statuses response))
+ (cdr ; avoid repeat of last status
+ (alist-get 'statuses response)))
((equal "hashtags" (mastodon-search--buf-type))
(alist-get 'hashtags response))
((equal "accounts" (mastodon-search--buf-type))