emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon 241d26dc1f 10/18: notif types: use types[] not ex


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 241d26dc1f 10/18: notif types: use types[] not exclude_types[]
Date: Mon, 2 Dec 2024 16:00:34 -0500 (EST)

branch: elpa/mastodon
commit 241d26dc1fe2e9065352cef2162e740e1949d7c9
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>

    notif types: use types[] not exclude_types[]
---
 lisp/mastodon-tl.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 9718684145..763569bbb0 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -3374,11 +3374,9 @@ VIEW-NAME is a string, to be used as a heading for the 
view.
 BINDING-STR is a string explaining any bindins in the view.
 ENDPOINT-VERSION is a string, format Vx, e.g. V2."
   ;; Used by `mastodon-notifications-get' and in views.el
-  (let* ((exclude-types (when note-type
-                          (mastodon-notifications--filter-types-list 
note-type)))
-         (notes-params (when note-type
+  (let* ((notes-params (when note-type
                          (mastodon-http--build-array-params-alist
-                          "exclude_types[]" exclude-types)))
+                          "types[]" (list note-type))))
          (params (append notes-params params))
          (url (mastodon-http--api endpoint endpoint-version))
          (buffer (concat "*mastodon-" buffer-name "*"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]