aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-02-15 19:33:44 +0100
committermousebot <mousebot@riseup.net>2022-02-17 09:45:45 +0100
commit5ae600a4431f7d3f0b2b6c93999465f1c75391e2 (patch)
tree6327e6d16bfae26ddc05a1fd6d8c4670b4173305 /lisp
parent79790bad6b6d0bb5a43459e3d2f8da9701ed8908 (diff)
fix reload on filter create in filter view
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el5
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 ()