[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon ee33bd1d2d 22/45: toot--send: check for media wit
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon ee33bd1d2d 22/45: toot--send: check for media with media-attachment-ids for speed |
Date: |
Thu, 1 Feb 2024 10:00:55 -0500 (EST) |
branch: elpa/mastodon
commit ee33bd1d2d4f095fe77b26246a71270ef533e735
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
toot--send: check for media with media-attachment-ids for speed
media-attachments contains image data, so is slow.
---
lisp/mastodon-toot.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 7833e472e8..266fa86db6 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -842,20 +842,20 @@ instance to edit a toot."
;; Pleroma instances can't handle null-valued
;; scheduled_at args, so only add if non-nil
(when scheduled `(("scheduled_at" .
,scheduled)))))
- (args-media (when mastodon-toot--media-attachments
+ (args-media (when mastodon-toot--media-attachment-ids
(mastodon-http--build-array-params-alist
"media_ids[]"
mastodon-toot--media-attachment-ids)))
(args-poll (when mastodon-toot-poll
(mastodon-toot--build-poll-params)))
;; media || polls:
- (args (if mastodon-toot--media-attachments
+ (args (if mastodon-toot--media-attachment-ids
(append args-media args-no-media)
(if mastodon-toot-poll
(append args-no-media args-poll)
args-no-media)))
(prev-window-config mastodon-toot-previous-window-config))
- (cond ((and mastodon-toot--media-attachments
+ (cond ((and mastodon-toot--media-attachment-ids
;; make sure we have media args
;; and the same num of ids as attachments
(or (not args-media)
- [nongnu] elpa/mastodon updated (a8c80d25b7 -> 136e4d387a), ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon e5c9f403b6 14/45: Merge branch 'quote-region' into develop, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon ee33bd1d2d 22/45: toot--send: check for media with media-attachment-ids for speed,
ELPA Syncer <=
- [nongnu] elpa/mastodon 2f68bc776d 29/45: tl--content: only call tl--media if we have media, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon f0137a0ad6 42/45: Add 'o' binding to open the current toot in a browser, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 2e195ee009 01/45: update cmd index, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 1da8ab0675 05/45: add cmd to url-lookup with no fedi-like check, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon d9959ace12 04/45: update info re patches, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 406d87cc7a 07/45: display-media-p var > defcustom, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 33d0011c7c 11/45: toot--reply: call toot--compose-buffer not just toot, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 0c7322e839 24/45: refactor mastodon-toot--make-capf, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 0c048e154b 20/45: copy image caption cmd, ELPA Syncer, 2024/02/01
- [nongnu] elpa/mastodon 703655f109 26/45: Merge branch 'emoji-capf' into develop, ELPA Syncer, 2024/02/01