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-13 10:26:23 +0200
commita8112e5c150fc2ace856cb442fee6b1dd5d25066 (patch)
treef458bf37720a56cb0b3737b0c8e1b193c5030d11 /lisp/mastodon-toot.el
parentb84bca8e91ee75704b6297e788944a07b5c364ee (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 eb92c27..e77787c 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1167,7 +1167,8 @@ which is used to attach it to a toot when posting."
(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 ()