diff options
author | mousebot <mousebot@riseup.net> | 2021-10-29 17:55:27 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-10-29 18:08:28 +0200 |
commit | 7e7b6c5c67af47c37d2a856dd72ccc040c967482 (patch) | |
tree | 0a60a70bdafce933b532964919cf7fdc68aef50e /fixture/empty.plstore | |
parent | 39a54a6aaf1a6f043bfe8769ef0c3484de917e7c (diff) |
merge upload-media-attachments functionality into toot-send.
this obviates the need for the user to upload files before posting their toot.
- this commit makes http--post-media-attachment synchronous, so that toot-send
has to wait for it.
- in toot-send: if mastodon-toot--media-attachements is non-nil, the files it
contains are uploaded synchronously, and their returned ids are added to
toot-media-attachment-ids, which are parsed as args for the POST request to
be attached to the toot.
- then we send toot as usual.
- clear-all-attachments also clears mastodon-toot--media-attachment-ids just
in case.
- we have no more need of media-attachments-filenames, as media-attachments is
now a list and not a boolean value.
Diffstat (limited to 'fixture/empty.plstore')
0 files changed, 0 insertions, 0 deletions