diff options
author | marty hiatt <martianhiatus@disroot.org> | 2024-11-01 17:16:14 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus@disroot.org> | 2024-11-01 17:34:04 +0100 |
commit | 94ea642a1a565f0a8c56d1ad541965b905411459 (patch) | |
tree | b36c6916bff56b305b177d19c9a95074a8ba87bc /lisp/mastodon-tl.el | |
parent | c09935b100986a94e4265ca5f6c152d17fabd9e6 (diff) |
notifs: improve byline docstrings for new byline logic
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index f321e41..3e1d49f 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -640,7 +640,8 @@ is extracted from it." "Format a byline handle from account in TOOT. DOMAIN is optionally added to the handle. ACCOUNT is optionally acccount data to use. -STRING is optionally the string to propertize. +STRING is optionally the string to propertize, it is used to make +username rather than handle buttons. FACE is optionally the face to use. The last two args allow for display a username as a clickable handle." @@ -676,7 +677,6 @@ ACCOUNT is optionally acccount data to use." (defun mastodon-tl--byline-author (toot &optional avatar domain base) "Propertize author of TOOT. -If TOOT contains a reblog, return author of reblogged item. With arg AVATAR, include the account's avatar image. When DOMAIN, force inclusion of user's domain in their handle. BASE means to use data from the base item (reblog slot) if possible. |