aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-13 17:01:52 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-13 17:01:52 +0200
commitc67d1f80f60754baa5ee8a53065d6219546b3d5b (patch)
tree109c2ba532bbcf293d34d2cf95a8509a93f8d029 /lisp
parent16340dbef16de36cb1aff10d78723bdb0652f03b (diff)
unfuck non-search pagination fucked by search pagination
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 0f3862a..ad214e8 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2355,7 +2355,9 @@ HEADERS is the http headers returned in the response, if any."
((equal "hashtags" (mastodon-search--buf-type))
(alist-get 'hashtags response))
((equal "accounts" (mastodon-search--buf-type))
- (alist-get 'accounts response))))
+ (alist-get 'accounts response))
+ (t
+ json)))
(headers (if headers (cdr response) nil))
(link-header (mastodon-tl--get-link-header-from-response headers)))
(goto-char (point-max))