diff options
author | mousebot <mousebot@riseup.net> | 2021-10-28 17:51:43 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-10-28 17:51:43 +0200 |
commit | 5c4da2fa589e930a25c18363f1f0ace50635786c (patch) | |
tree | 6b0eda05bf8550976f2ac574de049cfba2db3c5f /lisp/mastodon-profile.el | |
parent | 36f9fe238b778d76809facd3d66120c2166f2c30 (diff) | |
parent | 998bfd60ed0ad1c4de161dd9a32c7786ee34b48a (diff) |
Merge branch 'develop' into imgcaching
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r-- | lisp/mastodon-profile.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index a374061..22120fe 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -296,6 +296,7 @@ Returns a list of lists." (buffer (concat "*mastodon-" acct "-" endpoint-type "*")) (note (mastodon-profile--account-field account 'note)) (json (mastodon-http--get-json url)) + (locked (mastodon-profile--account-field account 'locked)) (followers-count (mastodon-tl--as-string (mastodon-profile--account-field account 'followers_count))) @@ -338,8 +339,13 @@ Returns a list of lists." account 'display_name) 'face 'mastodon-display-name-face) "\n" - (propertize acct + (propertize (concat "@" acct) 'face 'default) + (if (equal locked t) + (if (fontp (char-displayable-p #10r9993)) + " 🔒" + " [locked]") + "") "\n ------------\n" (mastodon-tl--render-text note account) ;; account here to enable tab-stops in profile note |