From 2ac021fbc1f7bf55be5d2cbc93f982fd3c1623dd Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 8 Aug 2024 17:27:10 +0200 Subject: re-write tl--is-reply --- lisp/mastodon-tl.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index e86cb84..2c457b0 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1696,8 +1696,8 @@ To disable showing the stats, customize (defun mastodon-tl--is-reply (toot) "Check if the TOOT is a reply to another one (and not boosted)." - (and (null (mastodon-tl--field 'in_reply_to_id toot)) - (not (mastodon-tl--field 'rebloged toot)))) + (and (mastodon-tl--field 'in_reply_to_id toot) + (eq :json-false (mastodon-tl--field 'reblogged toot)))) (defun mastodon-tl--toot (toot &optional detailed-p thread domain unfolded no-byline) -- cgit v1.2.3