diff options
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 6c6f4e1..8fa4813 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1158,8 +1158,9 @@ Prompt for a context, must be a list containting at least one of \"home\", (mastodon-http--triage response (lambda () (message "Filter created for %s!" word) - (when (string= (plist-get mastodon-tl--buffer-spec 'buffer-name) - "*mastodon-filters*") + ;; reload if we are in filters view: + (when (string= (mastodon-tl--get-endpoint) + "filters") (mastodon-tl--view-filters)))))) (defun mastodon-tl--view-filters () |