aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-views.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-05-26 16:12:08 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-05-26 16:12:08 +0200
commite2071dc3d2bd5540c25f531988a8dd7e714f63cb (patch)
treef0c7a3cb2728c5f0ec4bcf2db9206ec8db324377 /lisp/mastodon-views.el
parent169e751e3cf6a23bc5f9cef2a23080cd549c3f05 (diff)
view instance desc: use api v2
Diffstat (limited to 'lisp/mastodon-views.el')
-rw-r--r--lisp/mastodon-views.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index e9e89c0..775b96b 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -748,7 +748,7 @@ MISSKEY means the instance is a Misskey or derived server."
(interactive)
(if user
(let ((response (mastodon-http--get-json
- (mastodon-http--api "instance") nil nil :vector)))
+ (mastodon-http--api "instance" "v2") nil nil :vector)))
(mastodon-views--instance-response-fun response brief instance))
(mastodon-tl--do-if-item
(let* ((toot (if (mastodon-tl--profile-buffer-p)