aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-notifications.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 6b63c3e..b5a0ff4 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -387,8 +387,12 @@ When DOMAIN, force inclusion of user's domain in their handle."
nil ", ")
(if (< accts total)
(let ((diff (- total accts)))
- ;; FIXME: help echo all remaining accounts?
- (format " and %s other%s" diff (if (= 1 diff) "" "s")))))))
+ (propertize ;; help-echo remaining notifs authors:
+ (format " and %s other%s" diff (if (= 1 diff) "" "s"))
+ 'help-echo (mapconcat (lambda (a)
+ (alist-get 'username a))
+ (cddr accounts) ;; not first two
+ " ")))))))
(defun mastodon-notifications--render (json)
"Display grouped notifications in JSON."