From 5ae600a4431f7d3f0b2b6c93999465f1c75391e2 Mon Sep 17 00:00:00 2001 From: mousebot Date: Tue, 15 Feb 2022 19:33:44 +0100 Subject: fix reload on filter create in filter view --- lisp/mastodon-tl.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp') 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 () -- cgit v1.2.3