From 521c87ea65ccd1976e76e70c7be0abc625fc61d5 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 30 Oct 2024 08:53:39 +0100 Subject: notifs: remove commented body-arg code from format-note --- lisp/mastodon-notifications.el | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el index 1b04699..23bd1fa 100644 --- a/lisp/mastodon-notifications.el +++ b/lisp/mastodon-notifications.el @@ -243,36 +243,6 @@ JSON is a list of alists." ;; body (mastodon-notifiations--body-arg type filters status profile-note follower-name) - ;; (let ((body - ;; (if-let ((match (assoc "warn" filters))) - ;; (mastodon-tl--spoiler status (cadr match)) - ;; (mastodon-tl--clean-tabs-and-nl - ;; (cond ((mastodon-tl--has-spoiler status) - ;; (mastodon-tl--spoiler status)) - ;; ((eq type 'follow_request) - ;; (mastodon-tl--render-text profile-note)) - ;; (t (mastodon-tl--content status))))))) - ;; (cond - ;; ((eq type 'follow) - ;; (propertize "Congratulations, you have a new follower!" - ;; 'face 'default)) - ;; ((eq type 'follow_request) - ;; (concat - ;; (propertize (format "You have a follow request from %s" - ;; follower-name) - ;; 'face 'default) - ;; (when mastodon-profile-note-in-foll-reqs - ;; (concat - ;; ":\n" - ;; (mastodon-notifications--comment-note-text body))))) - ;; ;; ((eq type 'severed_relationships) - ;; ;; (mastodon-notifications--severance-body group)) - ;; ;; ((eq type 'moderation_warning) - ;; ;; (mastodon-notifications--mod-warning-body group)) - ;; ((member type '(favourite reblog)) - ;; (propertize - ;; (mastodon-notifications--comment-note-text body))) - ;; (t body))) ;; action-byline (unless (member type '(follow follow_request mention)) (downcase -- cgit v1.2.3