aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-07-29 17:01:36 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-04 09:04:47 +0200
commitd8ceb814f872d723fe40a5d252b8ab7aaafecc0a (patch)
treede3a6ba49a4280cb41b570695bfb18d96c7c06c2 /lisp/mastodon-tl.el
parent8522172cac21c734c06b73c7447faaada0ef8899 (diff)
--thread: detailed-p for current toot in thread context
and load single toot if no thread
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 77c4198..8bb034c 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1204,12 +1204,12 @@ ID is that of the toot to view."
update-function
(lambda (toot) (message "END of thread."))))
(let ((inhibit-read-only t))
- (mastodon-tl--timeline (vconcat
- (alist-get 'ancestors context)
- `(,toot)
- (alist-get 'descendants context)))))
+ (mastodon-tl--timeline (alist-get 'ancestors context))
+ (goto-char (point-max))
+ (mastodon-tl--toot toot :detailed-p)
+ (mastodon-tl--timeline (alist-get 'descendants context))))
(mastodon-tl--goto-next-toot))
- (message "No Thread!"))))
+ (mastodon-tl--single-toot id))))
(defun mastodon-tl--create-filter ()
"Create a filter for a word.