aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-14 22:04:39 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-14 22:04:39 +0100
commit5ae092746f711942c10e9f811bb15f16551bbfba (patch)
treef0b8180eda43afec4164e619f03205cfe8ca0e07 /lisp/mastodon-profile.el
parentb9c46ac6e5a8043ad41f14e237195a6506619aee (diff)
lsp corrections: lambdas, if to when, etc.
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 2607b82..6af9a94 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -755,10 +755,10 @@ If toot is a boost, opens the profile of the booster."
(mastodon-profile--make-author-buffer
(alist-get 'account (mastodon-profile--toot-json))))
-(defun mastodon-profile--image-from-account (account img_type)
+(defun mastodon-profile--image-from-account (account img-type)
"Return a avatar image from ACCOUNT.
IMG_TYPE is the JSON key from the account data."
- (let ((img (alist-get img_type account)))
+ (let ((img (alist-get img-type account)))
(unless (equal img "/avatars/original/missing.png")
(mastodon-media--get-media-link-rendering img))))