aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-25 17:45:53 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-25 17:46:36 +0100
commit593ad71b2c331d6aeb24dcfb943d4cc435e36bf3 (patch)
treee4016679e3df92ac0cf0253a3dc5baef79a21b0c
parentfc28851921af66ad56829fc06cd217c4b1335d26 (diff)
don't require match for handle at point
-rw-r--r--lisp/mastodon-profile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 801ebd4..d9b45c8 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -830,6 +830,7 @@ These include the author, author of reblogged entries and any user mentioned."
User may be the current profile page if not your own, or the
account ('toot-json) at point if you are on your own profile page (followers)."
(interactive)
+ ;; FIXME: this means you can't choose another account if on a profile page
(let* ((account (unless id
(cond ((and ;; we are on a profile page
mastodon-profile--account
@@ -869,7 +870,7 @@ account ('toot-json) at point if you are on your own profile page (followers)."
(let* ((handles (mastodon-profile--extract-users-handles
(mastodon-profile--toot-json)))
(handle (completing-read "Remove from followers: "
- handles))
+ handles nil))
(account (mastodon-profile--lookup-account-in-status
handle (mastodon-profile--toot-json)))
(id (alist-get 'id account)))