aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b3427fc..1d1ca97 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2821,7 +2821,8 @@ from the start if it is nil."
(defun mastodon-tl--get-link-header-from-response (headers)
"Get http Link header from list of http HEADERS."
(when headers
- (split-string (alist-get "Link" headers nil nil 'equal) ", ")))
+ ;; pleroma uses "link", so case-insensitive match required:
+ (split-string (alist-get "Link" headers nil nil 'cl-equalp) ", ")))
(defun mastodon-tl--init (buffer-name endpoint update-function &optional headers params)
"Initialize BUFFER-NAME with timeline targeted by ENDPOINT asynchronously.