diff options
author | mousebot <mousebot@riseup.net> | 2021-12-15 10:39:20 +0100 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-12-15 10:43:49 +0100 |
commit | 2259577b8616005fd0265e211ae63188f4b32a3d (patch) | |
tree | ec491ce029005cd7eb74b571a93c7a258f85acd3 /lisp/mastodon-http.el | |
parent | f22cfa60d301a1b834cb86f6f9b75b57d9dab6e8 (diff) |
a first hack to make media uploads immediate and async.
this commit moves the call to -upload-attached-media into -attach-media.
upload-attached-media now uploads a single item only, whichever file has just
been selected at the prompt.
but we still use the list of attached-media to handle preview displays.
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 1ec0dc0..a4f126f 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -261,7 +261,7 @@ item uploaded, and `mastodon-toot--update-status-fields' is run." :parser 'json-read :headers `(("Authorization" . ,(concat "Bearer " (mastodon-auth--access-token)))) - :sync t + :sync nil :success (cl-function (lambda (&key data &allow-other-keys) (when data |