aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-07-12 18:05:52 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-07-12 18:05:52 +0200
commitf62545ecd00d23968f214479a8111c538d54cf86 (patch)
tree2ca512f9ab3471a1e8c6959b6f3482928b926440 /lisp/mastodon-toot.el
parent349e73b0807c8113088014ddd05d4e412cf9cece (diff)
message wait/done to attachment uploads, to avoid issues. See #478.
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 88ee34b..14b9d68 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1172,7 +1172,8 @@ which is used to attach it to a toot when posting."
(let* ((filename (expand-file-name (alist-get :filename attachment)))
(caption (alist-get :description attachment))
(url (concat mastodon-instance-url "/api/v2/media")))
- (message "Uploading %s..." (file-name-nondirectory filename))
+ (message "Uploading %s... (please wait before starting further uploads)"
+ (file-name-nondirectory filename))
(mastodon-http--post-media-attachment url filename caption)))
(defun mastodon-toot--refresh-attachments-display ()