aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-02-10 16:48:27 +0100
committermarty hiatt <martianhiatus@riseup.net>2024-02-10 16:48:27 +0100
commit11be568c1ed4bf903f2da09f1cc7353b7f5941e2 (patch)
treeb0d8fd5ae0275ddabc10d6a062a3e2b3ac7042f6 /lisp/mastodon-profile.el
parent51132d08682b7b13473d24a4bf60417541905c81 (diff)
my-profile: load by id, rather than server search
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index fc90cf7..5929f1c 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -745,7 +745,9 @@ IMG-TYPE is the JSON key from the account data."
"Show the profile of the currently signed in user."
(interactive)
(message "Loading your profile...")
- (mastodon-profile--show-user (mastodon-auth--get-account-name)))
+ (let ((account (mastodon-profile--account-from-id
+ (mastodon-auth--get-account-id))))
+ (mastodon-profile--make-author-buffer account)))
(defun mastodon-profile--format-user (tootv)
"Convert TOOTV into author-bylines and insert.