aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-08-09 17:46:19 +0200
committermousebot <mousebot@riseup.net>2021-08-09 18:23:44 +0200
commit2efdb5eb4ddc824ad269af096cb508b8f6867077 (patch)
tree03d178a15467ed1ac8b64148260a02ce2bb7186e /lisp/mastodon.el
parentcef6093d477323635e553655498703c480bf00aa (diff)
follow requests accept/reject from notifications +
- new bindings for f-req accept/reject (in both notifs and in f-req views) - check if we are at an f-req before accept/rejecting - flycheck / docstrings - fix notifs byline formatting for f-reqs
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 96a092f..a918b44 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -66,6 +66,8 @@
(autoload 'mastodon-profile--my-profile "mastodon-profile")
(autoload 'mastodon-profile--view-favourites "mastodon-profile")
(autoload 'mastodon-profile--view-follow-requests "mastodon-profile")
+(autoload 'mastodon-notifications--follow-request-accept-notifs "mastodon-profile")
+(autoload 'mastodon-notifications--follow-request-reject-notifs "mastodon-profile")
(autoload 'mastodon-search--search-query "mastodon-search")
(autoload 'mastodon-toot--delete-toot "mastodon-toot")
(autoload 'mastodon-toot--copy-toot-url "mastodon-toot")
@@ -149,6 +151,8 @@ Use. e.g. \"%c\" for your locale's date and time format."
(define-key map (kbd "C-c l") #'mastodon-async--stream-local)
(define-key map (kbd "C-c n") #'mastodon-async--stream-notifications)
(define-key map (kbd "U") #'mastodon-profile--update-user-profile-note)
+ (define-key map (kbd "a") #'mastodon-notifications--follow-request-accept-notifs)
+ (define-key map (kbd "j") #'mastodon-notifications--follow-request-reject-notifs)
map)
"Keymap for `mastodon-mode'.")