aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 2c6b798..254f042 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -190,6 +190,11 @@ following the current profile."
(mastodon-profile--make-author-buffer account)
(message "Cannot find a user with handle %S" user-handle))))
+(defun mastodon-profile--my-profile ()
+ "Show the profile of the currently signed in user."
+ (interactive)
+ (mastodon-profile--show-user (mastodon-auth--get-account-name)))
+
(defun mastodon-profile--account-field (account field)
"Return FIELD from the ACCOUNT.