aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-notifications.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 9ff8413..c27ffef 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -228,7 +228,8 @@ JSON is a list of alists."
str))))
(status (mastodon-tl--field 'status note))
(follower (alist-get 'account note))
- (follower-name (alist-get 'username follower))
+ (follower-name (or (alist-get 'display_name follower)
+ (alist-get 'username follower)))
(filtered (mastodon-tl--field 'filtered status))
(filters (when filtered
(mastodon-tl--current-filters filtered))))