aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-06-15 12:39:10 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-06-15 12:39:10 +0200
commit09212d2a6db0b3604014e4371f3b0c92376bc6e0 (patch)
tree14544c02e1ee217b75dfd39b4e0bbbc05323671c
parent2dfcd876dde600fea62adf126b572a1fb3a3357a (diff)
fix message-help-echo checks
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index f74bc8b..c330dbd 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -570,10 +570,10 @@ Do so if type of status at poins is not follow_request/follow."
(let ((type (alist-get 'type
(mastodon-tl--property 'item-json :no-move)))
(echo (mastodon-tl--property 'help-echo :no-move)))
- (when echo ; not for followers/following in profile
+ (when (not (equal "" echo)) ; not for followers/following in profile
(unless (or (string= type "follow_request")
(string= type "follow")) ; no counts for these
- (message "%s" (mastodon-tl--property 'help-echo :no-move))))))
+ (message "%s" echo)))))
(defun mastodon-tl--byline-author (toot &optional avatar domain)
"Propertize author of TOOT.