aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 2c1ef43..b3f0506 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2610,7 +2610,8 @@ ACCOUNT-ID, COMMENT, ITEM-ID, FORWARD-P, CAT, and RULES are all from
,(when item-id `("status_ids[]" . ,item-id))
,(when forward-p `("forward" . ,forward-p))
,(when cat `("category" . ,cat))))))
- (when rules
+ (if (not rules)
+ params
(let ((alist
(mastodon-http--build-array-params-alist "rule_ids[]" rules)))
(append alist params)))))