diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-10-17 14:30:19 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-10-17 14:30:19 +0200 |
commit | 3338be8e330c9e904c3bd6d1e603506346a88557 (patch) | |
tree | db371dafb2a3a310ab25c9974178908508c6b466 /lisp | |
parent | 94a7083c282b0d65984ef6dffa891e3ea397386e (diff) |
notifs: tl--more-json-async: v2 api for notifs
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-tl.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 7d41971..6005a54 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -2824,7 +2824,8 @@ the current view." (args (append args params)) (url (mastodon-http--api endpoint - (when (string-suffix-p "search" endpoint) + (when (or (string= endpoint "notifications") + (string-suffix-p "search" endpoint)) "v2")))) (apply #'mastodon-http--get-json-async url args callback cbargs))) |