diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-28 19:17:36 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-28 19:17:36 +0100 |
commit | e7198488de5155398e0dff18da2678a69d2e1c62 (patch) | |
tree | 0316b6a2fe261d876b0a893857ab234aa23abf7d | |
parent | f0d215f30f5d874a9b74d034c9d44da8b046e204 (diff) | |
parent | e17e2ecd417864c725fe5f182a25cf3024251263 (diff) |
Merge commit 'pullreqs/335' into schedule-toots
-rw-r--r-- | lisp/mastodon-toot.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 121a590..42cce36 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -164,6 +164,10 @@ This is determined by the account setting on the server. To change the setting on the server, see `mastodon-toot--set-default-visibility'.") +(defvar-local mastodon-toot--scheduled-at nil + "An ISO 8601 timestamp that declares when the post should be published. +Should be at least 5 minutes into the future.") + (defvar-local mastodon-toot--media-attachments nil "A list of the media attachments of the toot being composed.") @@ -687,7 +691,8 @@ instance to edit a toot." ("sensitive" . ,(when mastodon-toot--content-nsfw (symbol-name t))) ("spoiler_text" . ,spoiler) - ("language" . ,mastodon-toot--language))) + ("language" . ,mastodon-toot--language) + ("scheduled_at" . ,mastodon-toot--scheduled-at))) (args-media (when mastodon-toot--media-attachments (mastodon-http--build-array-params-alist "media_ids[]" |