[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 38f9437ad9 37/45: preserve media when editing sch
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 38f9437ad9 37/45: preserve media when editing scheduled toot |
Date: |
Thu, 1 Feb 2024 10:01:03 -0500 (EST) |
branch: elpa/mastodon
commit 38f9437ad99db8a94f64e721f80294c54d7b7ecb
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
preserve media when editing scheduled toot
---
lisp/mastodon-views.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 28f7c7c541..8e04434249 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -572,14 +572,14 @@ NO-CONFIRM means there is no ask or message, there is
only do."
(let* ((toot (mastodon-tl--property 'scheduled-json :no-move))
(scheduled (alist-get 'scheduled_at toot)))
(let-alist (alist-get 'params toot)
+ ;; TODO: preserve polls
;; (poll (alist-get 'poll params))
- ;; (media (alist-get 'media_attachments toot)))
- (mastodon-toot--compose-buffer)
+ (mastodon-toot--compose-buffer nil .in_reply_to_id nil .text :edit)
(goto-char (point-max))
- (insert .text)
;; adopt properties from scheduled toot:
(mastodon-toot--set-toot-properties
- .in_reply_to_id .visibility .spoiler_text .language scheduled
id))))))
+ .in_reply_to_id .visibility .spoiler_text .language
+ scheduled id (alist-get 'media_attachments toot)))))))
;;; FILTERS
- [nongnu] elpa/mastodon 9451238519 18/45: start on emoji-capf for compose buffer, (continued)
- [nongnu] elpa/mastodon 9451238519 18/45: start on emoji-capf for compose buffer, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 1385416479 30/45: add RET binding for tl--thread, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 136e4d387a 45/45: Merge branch 'develop', ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon fa73817c22 41/45: Add 'z' binding to bury the current buffer, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 3437dbbeea 31/45: add sensitive property to images, so we can blur them one day., ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 231b43a372 36/45: mastodon-tl--tag-timeline-tags defcustom, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon f5a19ad534 28/45: Merge pull request 'Use `equal' to access alist entries by `mastodon-instance-url'' (#516) from dme/mastodon.el:devel/dme into develop, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 638e5e09df 25/45: clean up emoji capf, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon f3cfd273f9 33/45: mastodon--kill-window in toot-tests.el, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 20b41bfa95 32/45: Avoid error when there's only one window in a frame when closing window, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 38f9437ad9 37/45: preserve media when editing scheduled toot,
ELPA Syncer <=
- [nongnu] elpa/mastodon b8dd95b4c9 43/45: dir-locals: Set indent-tab-mode to nil, ELPA Syncer, 2024/02/01