aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-05 19:07:31 +0200
committermousebot <mousebot@riseup.net>2021-10-05 19:07:31 +0200
commit5b64479e34546cea01b600cf5a9fc8c47e2e4a4e (patch)
treeacd2169c602bddc9e6c1d6539218e76256eb67b8 /lisp/mastodon-profile.el
parent1d141a98479b4ca09f396adfd82f19f8709242e6 (diff)
parent3df45c1cd655f3c3555c47d6cfaf023ef13b6ca7 (diff)
Merge branch 'main' into develop
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 28f2e46..2c364da 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -297,10 +297,11 @@ Returns a list of lists."
(toots-count (mastodon-tl--as-string
(mastodon-profile--account-field
account 'statuses_count)))
+ (relationships (mastodon-profile--relationships-get id))
(followed-by-you (cdr (assoc 'following
- (aref (mastodon-profile--relationships-get id) 0))))
+ (aref relationships 0))))
(follows-you (cdr (assoc 'followed_by
- (aref (mastodon-profile--relationships-get id) 0))))
+ (aref relationships 0))))
(followsp (or (equal follows-you 't) (equal followed-by-you 't)))
(fields (mastodon-profile--fields-get account))
(pinned (mastodon-profile--get-statuses-pinned account)))