diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-08-08 17:27:10 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-08-08 17:27:10 +0200 |
commit | 2ac021fbc1f7bf55be5d2cbc93f982fd3c1623dd (patch) | |
tree | 39d4a9d402318de596b9e3dbdad32d192af079d3 /lisp/mastodon-tl.el | |
parent | f6a17c02f2a7655b38b8dcf41912f89a5d952368 (diff) |
re-write tl--is-reply
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 4 |
1 files changed, 2 insertions, 2 deletions
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) |