From f4fb3251d3dcec60f088e6a822319ba8b4556921 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 18 Oct 2024 08:23:34 +0200 Subject: do use action response: change cond clause not/or to make a neither --- lisp/mastodon-tl.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index cdfdf5f..77eb320 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -2674,8 +2674,7 @@ ARGS is an alist of any parameters to send with the request." ((assoc "languages[]" args #'string=) (message "User %s filtered by language(s): %s" name (mapconcat #'cdr args " "))) - ((and (eq notify nil) - (eq reblogs nil)) + ((not (or notify reblogs)) (if (and (string= action "follow") (eq t (alist-get 'requested json))) (message "Follow requested for user %s (@%s)!" name user-handle) -- cgit v1.2.3