aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-18 08:23:34 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-18 08:47:45 +0200
commitf4fb3251d3dcec60f088e6a822319ba8b4556921 (patch)
tree6b409c806729eb1a3e63a54f17a7fc2090eb4d36 /lisp/mastodon-tl.el
parentcb9be01c7e57a38b58ab79ecce1f80b868701e20 (diff)
do use action response: change cond clause not/or to make a neither
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el3
1 files changed, 1 insertions, 2 deletions
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)