aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-notifications.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-17 20:09:52 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-17 20:09:52 +0200
commit34979a5e64c8d07d028e7a8a59d4f3f156fb869c (patch)
tree829a385eaeafc3ce5790d3755398278617073cda /lisp/mastodon-notifications.el
parent22b81fabbe7272163d88b5234e948c76963f4de3 (diff)
notifs: make action authors work for all notif types
Diffstat (limited to 'lisp/mastodon-notifications.el')
-rw-r--r--lisp/mastodon-notifications.el14
1 files changed, 5 insertions, 9 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index debc760..59b90fd 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -293,19 +293,15 @@ ACCOUNTS is data of the accounts that have reacted to the notification."
(mastodon-notifications--byline-concat
(alist-get type-sym mastodon-notifications--action-alist))))
;; action authors
- (cond
- ((member type-sym '(follow_request mention))
- "") ;; mentions are normal statuses
- ((member type-sym '(favourite reblog update))
- (mastodon-notifications--byline-accounts
- accounts status group))
- ((eq type-sym 'follow_request)
- (mastodon-tl--byline-uname-+-handle status nil (car accounts))))
+ (cond ((member type-sym '(follow_request mention))
+ "") ;; mentions are normal statuses
+ (t (mastodon-notifications--byline-accounts
+ accounts status group)))
;; action symbol:
(when (member type-sym '(favourite reblog update))
(mastodon-tl--symbol type-sym))
.status_id
- ;; base toot
+ ;; base toot (no need for update/poll/?)
(when (member type-sym '(favourite reblog))
status)
folded group accounts))))))