branch: elpa/mastodon
commit bf4486c9d6c83952d93f124447a0c519af2c5402
Author: marty hiatt <martianhia...@disroot.org>
Commit: marty hiatt <martianhia...@disroot.org>

    notif reqs: reload view on accept/reject notifs
---
 lisp/mastodon-notifications.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 6ef6d38ad7..f69a3b65bf 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -877,7 +877,9 @@ REJECT means reject notifications instead."
      resp
      (lambda (_resp)
        (message "%s notifications from %s"
-                (if reject "Not accepting" "Accepting") user)))))
+                (if reject "Not accepting" "Accepting") user)
+       ;; reload view:
+       (mastodon-notifications--requests)))))
 
 (defun mastodon-notifications--request-reject ()
   "Reject a notification request for a user.

Reply via email to