aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-09-18 19:43:37 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-09-18 19:43:37 +0200
commitd260eeb57917e289800c198b97e5d54c3e241b28 (patch)
tree5e3c3bfdce552352fafc1b87662cc33ad70ca504 /lisp/mastodon-toot.el
parentacccb84045b8bc57cbf5a863cc7ab9dc0ca5af4d (diff)
FIX toot-empty-p for attachment only post.
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 53ddeee..086d2f1 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -678,8 +678,8 @@ Pushes `mastodon-toot-current-toot-text' to
TEXT-ONLY means don't check for attachments or polls."
(and (if text-only
t
- (not mastodon-toot--media-attachments)
- (not mastodon-toot-poll))
+ (and (not mastodon-toot--media-attachments)
+ (not mastodon-toot-poll)))
(string-empty-p (mastodon-tl--clean-tabs-and-nl
(mastodon-toot--remove-docs)))))