aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-notifications.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-13 16:27:42 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-13 16:27:42 +0100
commitf2648b4742b93760c627f898002fbce46308b07f (patch)
treeeebb93ffb2272cb417e77950af757695b7ddf098 /lisp/mastodon-notifications.el
parenta344112c03f3d6c016f5f4c48e5c932b840f6ab1 (diff)
parent068ab5a5cd17cb04741598ef631d13da004ca8bc (diff)
Merge branch 'no-parent' into develop
Diffstat (limited to 'lisp/mastodon-notifications.el')
-rw-r--r--lisp/mastodon-notifications.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 1ecdbfb..7c5d40b 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -221,7 +221,7 @@ Status notifications are given when
(defun mastodon-notifications--insert-status (toot body
author-byline action-byline id
- &optional parent-toot)
+ &optional base-toot)
"Display the content and byline of timeline element TOOT.
BODY will form the section of the toot above the byline.
@@ -236,10 +236,10 @@ takes a single function. By default it is
`mastodon-tl--byline-boosted'.
ID is the notification's own id, which is attached as a property.
-If the status is a favourite or a boost, PARENT-TOOT is the JSON
+If the status is a favourite or a boost, BASE-TOOT is the JSON
of the toot responded to."
(when toot ; handle rare blank notif server bug
- (mastodon-tl--insert-status toot body author-byline action-byline id parent-toot)))
+ (mastodon-tl--insert-status toot body author-byline action-byline id base-toot)))
(defun mastodon-notifications--by-type (note)
"Filters NOTE for those listed in `mastodon-notifications--types-alist'."