aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-views.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 15:24:47 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 18:21:11 +0100
commit393f700bc45ae713af48b40fedc422da4d986f57 (patch)
tree26fb68418a6dcd5af5e6ad256ecb3662413bc5bd /lisp/mastodon-views.el
parent34f9c78566a8fdb21987843a335c789a1dcfb8c4 (diff)
use scheduled map on viewing scheduleds
Diffstat (limited to 'lisp/mastodon-views.el')
-rw-r--r--lisp/mastodon-views.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 10a6a8a..ed68528 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -485,7 +485,9 @@ JSON is the data returned by the server."
(interactive)
(mastodon-tl--init-sync "scheduled-toots"
"scheduled_statuses"
- 'mastodon-views--insert-scheduled-toots))
+ 'mastodon-views--insert-scheduled-toots)
+ (with-current-buffer "*mastodon-scheduled-toots*"
+ (use-local-map mastodon-views--scheduled-map)))
(defun mastodon-views--insert-scheduled-toots (json)
"Insert the user's scheduled toots, from JSON."