From bc7be89d5297b5e2cd7b31a9281123578eb5c5bc Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 23 May 2023 22:12:36 +0200 Subject: tl--content: use tl--field --- lisp/mastodon-tl.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 0977475..90c2cbf 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1237,10 +1237,7 @@ in which case play first video or gif from current toot." "Retrieve text content from TOOT. Runs `mastodon-tl--render-text' and fetches poll or media." (let* ((content (mastodon-tl--field 'content toot)) - (reblog (alist-get 'reblog toot)) - (poll-p (if reblog - (alist-get 'poll reblog) - (alist-get 'poll toot)))) + (poll-p (mastodon-tl--field 'poll toot))) (concat (mastodon-tl--render-text content toot) (when poll-p (mastodon-tl--get-poll toot)) -- cgit v1.2.3