aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mastodon-search.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index ee1edff..2a2a995 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -186,19 +186,19 @@ ACCOUNT-ID means limit search to that account, for \"statuses\" type only."
(mastodon-search-mode)
;; user results:
(mastodon-search--format-heading (upcase type))
- (when accts
+ (when (equal type "accounts")
(mastodon-search--insert-users-propertized accts :note)
(mastodon-tl--set-buffer-spec buffer "search"
'mastodon-views--insert-users-propertized-note
nil params))
;; hashtag results:
- (when tags
+ (when (equal type "hashtags")
(mastodon-search--print-tags tags)
(mastodon-tl--set-buffer-spec buffer "search"
'mastodon-search--print-tags
nil params))
;; status results:
- (when statuses
+ (when (equal type "statuses")
(mapc #'mastodon-tl--toot statuses)
(mastodon-tl--set-buffer-spec buffer "search"
'mastodon-tl--timeline