diff options
author | mousebot <mousebot@riseup.net> | 2021-06-19 13:12:44 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-06-19 13:12:44 +0200 |
commit | a7148e8c79c7451c035a75217a9349b531752caa (patch) | |
tree | 884d8ecf3c7f39623a53a354f26f3731ccd597a7 /lisp | |
parent | f9452225da575a8272b2880214a241b72efd5e4f (diff) |
display boosted polls
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-tl.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index d90a759..10b867c 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -645,8 +645,11 @@ message is a link which unhides/hides the main body." (defun mastodon-tl--content (toot) "Retrieve text content from TOOT." - (let ((content (mastodon-tl--field 'content toot)) - (poll-p (cdr (assoc 'poll toot)))) + (let* ((content (mastodon-tl--field 'content toot)) + (reblog (cdr (assoc 'reblog toot))) + (poll-p (if reblog + (cdr (assoc 'poll reblog)) + (cdr (assoc 'poll toot))))) (concat (when poll-p (mastodon-tl--get-poll toot)) |