Closed vermiculus closed 6 years ago
How to only get the "Participation Notifications" ?
I'm using ghub.el
functions to show a number in my custom mode-line. Like this:
(defvar github-notifications-number nil)
(defun github-notifications ()
(setq github-notifications-number (length (ghub-get "/notifications"))))
(run-with-timer 10 1200 'github-notifications)
But (ghub-get "/notifications")
is not what I want, do you know what is the API URL for "Participation Notifications" ?
(ghubp-get-notifications :participating "true")
or
(ghub-get "/notifications" '((participating . "true")))
.
See also the documentation of ghubp-get-notifications
.
Thanks @vermiculus
Fix #245.