aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@disroot.org>2024-10-29 12:02:23 +0100
committermarty hiatt <martianhiatus@disroot.org>2024-10-29 12:50:18 +0100
commit0e75fc74eebd142601d725cb814d7fe18b87c25e (patch)
tree523e4cd8c113a618c6bdba05b847d2776fce7fcb /lisp/mastodon.el
parent98c8c3d5c066da085ac540994cc6f8cb1b682a71 (diff)
group-notifs custom (for servers without). #608. WIP.
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index deee0c1..86810b7 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -372,7 +372,10 @@ MAX-ID is a request parameter for pagination."
type
(when max-id
`(("max_id" . ,(mastodon-tl--buffer-property 'max-id))))
- nil nil nil "v2")
+ nil nil nil
+ (if (not mastodon-notifications--group-notifications)
+ "v1"
+ "v2"))
(with-current-buffer (get-buffer-create buffer)
(use-local-map mastodon-notifications--map))))