diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-04-01 09:53:24 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-04-01 09:54:10 +0200 |
commit | 6362152c6553385ba4916e4091e0b5cccf25425e (patch) | |
tree | 72adfcb3bc0485df7e4830c29c20d94c9c0d7ec8 /lisp | |
parent | 4e095bd9d37f0decec2471030c32d724b686d46e (diff) |
add trending types to -get-buffer-type. FIX #427.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-tl.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 36539d3..05189a2 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1490,8 +1490,13 @@ call this function after it is set or use something else." ;; search ((string-suffix-p "search" endpoint-fun) 'search) - ((string-suffix-p "trends" endpoint-fun) + ;; trends + ((equal "api/v1/trends/statuses" endpoint-fun) + 'trending-statuses) + ((equal "api/v1/trends/tags" endpoint-fun) 'trending-tags) + ((equal "api/v1/trends/links" endpoint-fun) + 'trending-links) ;; User's views: ((string= "filters" endpoint-fun) 'filters) |