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-search.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/mastodon-search.el') diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el index 56c833d..287d593 100644 --- a/lisp/mastodon-search.el +++ b/lisp/mastodon-search.el @@ -116,8 +116,7 @@ PRINT-FUN is the function used to print the data from the response." (buffer (get-buffer-create (format "*mastodon-trending-%s*" type)))) (with-mastodon-buffer buffer #'mastodon-mode nil (mastodon-tl--set-buffer-spec (buffer-name buffer) - (format "api/v1/trends/%s" type) - nil) + (format "trends/%s" type) (insert (mastodon-tl--set-face (concat "\n " mastodon-tl--horiz-bar "\n" (upcase (format " TRENDING %s\n" type)) -- cgit v1.2.3