aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-02 18:52:01 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-02 18:52:01 +0200
commit0575324cd5ec2737b0a6fa9896d26d71362a3094 (patch)
tree211ac4f367734a21e5f6817ffec27325a6311928 /lisp/mastodon-toot.el
parent7636931151fda918f5303e28aa75f22c12cbc354 (diff)
toot: re-write --mentions
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 7af0fa3..7358316 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1039,10 +1039,7 @@ eg. \"feduser@fed.social\" -> \"@feduser@fed.social\"."
The mentioned users look like this:
Local user (including the logged in): `username`.
Federated user: `username@host.co`."
- (let* ((boosted (mastodon-tl--field 'reblog status))
- (mentions (if boosted
- (alist-get 'mentions (alist-get 'reblog status))
- (alist-get 'mentions status))))
+ (let* ((mentions (mastodon-tl--field 'mentions status)))
;; reverse does not work on vectors in 24.5
(mastodon-tl--map-alist 'acct (reverse mentions))))