branch: elpa/mastodon
commit c4875d5dea823f3a72358a2e57c9abc0f015ec41
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
transient tiny flycheck
---
lisp/mastodon-transient.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lisp/mastodon-transient.el b/lisp/mastodon-transient.el
index bad2974292..06d159a0d5 100644
--- a/lisp/mastodon-transient.el
+++ b/lisp/mastodon-transient.el
@@ -343,6 +343,9 @@ Do not add more than the server's maximum setting."
(tp-bools-to-strs args)))
(mastodon-toot--update-status-fields))))
+(defvar mastodon-notifications-policy-vals)
+(declare-function mastodon-notifications--get-policy "mastodon-notifications")
+
(transient-define-prefix mastodon-notifications-policy ()
"Set notifications policy options."
;; https://docs.joinmastodon.org/methods/notifications/#get-policy
@@ -380,7 +383,7 @@ Do not add more than the server's maximum setting."
(resp (mastodon-notifications--update-policy parsed)))
(mastodon-http--triage
resp
- (lambda (resp)
+ (lambda (_resp)
(message "Settings updated!\n%s" (pp-to-string parsed))))))
;;; CLASSES