diff options
| author | marty hiatt <martianhiatus@disroot.org> | 2024-10-30 08:17:07 +0100 | 
|---|---|---|
| committer | marty hiatt <martianhiatus@disroot.org> | 2024-10-30 08:22:49 +0100 | 
| commit | 7d61f38a6bbe8a329892c5e91d1627a3ab03ee66 (patch) | |
| tree | df7836301ece902a03a8ee4e3cac041a18d17b54 /lisp/mastodon-notifications.el | |
| parent | b529690f96953cd9b0ab248b18d811b9e95d0890 (diff) | |
FIX #609. insert-status remove author-byline arg, its always the same function
Diffstat (limited to 'lisp/mastodon-notifications.el')
| -rw-r--r-- | lisp/mastodon-notifications.el | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el index 97d0d80..6d6b339 100644 --- a/lisp/mastodon-notifications.el +++ b/lisp/mastodon-notifications.el @@ -273,8 +273,6 @@ JSON is a list of alists."         ;;     (propertize         ;;      (mastodon-notifications--comment-note-text body)))         ;;    (t body))) -       ;; author-byline -       #'mastodon-tl--byline-author         ;; action-byline         (unless (member type '(follow follow_request mention))           (downcase @@ -323,8 +321,6 @@ ACCOUNTS is data of the accounts that have reacted to the notification."             ;; body             (mastodon-notifiations--body-arg              type filters status profile-note follower-name group) -           ;; author-byline -           #'mastodon-tl--byline-author             ;; action-byline             (unless (member type '(follow follow_request mention))               (downcase @@ -379,7 +375,7 @@ FILTERS STATUS PROFILE-NOTE FOLLOWER-NAME GROUP."       (t body))))  (defun mastodon-notifications--insert-note -    (toot body author-byline action-byline action-authors action-symbol +    (toot body action-byline action-authors action-symbol            &optional base-toot unfolded group accounts type)    "Display the content and byline of timeline element TOOT.  BODY will form the section of the toot above the byline. @@ -420,7 +416,10 @@ ACCOUNTS is the notification accounts data."         "\n"         ;; actual byline:         (mastodon-tl--byline -        toot author-byline nil nil base-toot group +        toot nil nil base-toot group +        ;; FIXME: remove account arg (esp. if we have type). maybe we need +        ;; type arg when we step from notifs (here); to tl--byline land +        ;; (there):          (when (member type '("follow" "follow_request"))            toot) ;; account data!          ;; types listed here use base item timestamp, else we use group's  | 
