aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-26 15:08:32 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-26 15:08:32 +0100
commitc6281d6579cdcae5d2e1200a35b4f09a4406496e (patch)
treecd0c1914edb890e7005f12434fb6891bf47ea5a3 /lisp/mastodon-profile.el
parentae8f6c6d7dfdd8048c8bab21b3afd81f981fbc96 (diff)
remove --view-author-profile, replace with --get-toot-author
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 54f0e84..91103f1 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -737,14 +737,6 @@ IMG_TYPE is the JSON key from the account data."
(message "Loading your profile...")
(mastodon-profile--show-user (mastodon-auth--get-account-name)))
-(defun mastodon-profile--view-author-profile ()
- "View the profile of author of present toot."
- (interactive)
- (let* ((toot-json (mastodon-tl--property 'toot-json))
- (acct (alist-get 'account toot-json))
- (handle (alist-get 'acct acct)))
- (mastodon-profile--show-user handle)))
-
(defun mastodon-profile--account-field (account field)
"Return FIELD from the ACCOUNT.
FIELD is used to identify regions under 'account"