aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-views.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-18 18:35:14 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-18 18:35:14 +0200
commit9ba2b21fc391a1d732689e1dd06fe66fd0c6d8af (patch)
tree50cc0123920dd41a99119d70a47d60b6af9435c7 /lisp/mastodon-views.el
parentc0714fdc408b0c6e482967d1eb5b2c5f26216215 (diff)
filters: fix no keywords check
Diffstat (limited to 'lisp/mastodon-views.el')
-rw-r--r--lisp/mastodon-views.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index cdebc6e..e47e0dc 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -659,8 +659,7 @@ JSON is the filters data."
'filter-title .title
'item-type 'filter))
;; terms list:
- (if (not .keywords) ;; poss to have a filter sans keywords
- ""
+ (when .keywords ;; poss to have no keywords
(mastodon-views--insert-filter-kws .keywords))))
(defvar mastodon-views--filter-types