aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-views.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-views.el')
-rw-r--r--lisp/mastodon-views.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 8e04434..d0f310b 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -509,11 +509,11 @@ JSON is the data returned by the server."
"Insert scheduled TOOT into the buffer."
(let-alist toot
(insert
- (propertize (concat .params.text
+ (propertize (concat (string-trim .params.text)
" | "
(mastodon-toot--iso-to-human .scheduled_at))
'byline t ; so we nav here
- 'item-id "0" ; so we nav here
+ 'item-type 'scheduled ; so we nav here
'face 'font-lock-comment-face
'keymap mastodon-views--scheduled-map
'scheduled-json toot
@@ -619,6 +619,7 @@ JSON is the filters data."
(insert
(propertize filter-string
'item-id id ;for goto-next-filter compat
+ 'item-type 'filter
'phrase phrase
'byline t) ;for goto-next-filter compat
"\n\n")))