From 57aec26ea873dd8c93d3d438a26af9d79cc867cd Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 13 Oct 2023 21:24:22 +0200 Subject: remove "api/v1/" from trends endpoint in buffer spec and buffer checks --- lisp/mastodon-tl.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index a0e7a61..6b7e33d 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1584,11 +1584,11 @@ call this function after it is set or use something else." ((equal (mastodon-search--buf-type) "statuses") 'search-statuses))) ;; trends - ((mastodon-tl--endpoint-str-= "api/v1/trends/statuses") + ((mastodon-tl--endpoint-str-= "trends/statuses") 'trending-statuses) - ((mastodon-tl--endpoint-str-= "api/v1/trends/tags") + ((mastodon-tl--endpoint-str-= "trends/tags") 'trending-tags) - ((mastodon-tl--endpoint-str-= "api/v1/trends/links") + ((mastodon-tl--endpoint-str-= "trends/links") 'trending-links) ;; User's views: ((mastodon-tl--endpoint-str-= "filters") -- cgit v1.2.3