mirror of https://codeberg.org/cage/tinmop/
- refactored some code in a function: 'db:row-avatar'.
This commit is contained in:
parent
6ed5432d2b
commit
77d8deb84e
|
@ -1812,6 +1812,8 @@ row."
|
|||
|
||||
(gen-access-message-row user-username :acct)
|
||||
|
||||
(gen-access-message-row avatar :avatar)
|
||||
|
||||
(gen-access-message-row tag-got-new-message :got-new-message-p)
|
||||
|
||||
(gen-access-message-row conversation-folder :folder)
|
||||
|
|
|
@ -893,6 +893,7 @@
|
|||
:row-message-reblog-id
|
||||
:row-lockedp
|
||||
:row-user-username
|
||||
:row-avatar
|
||||
:row-tag-got-new-message
|
||||
:row-conversation-folder
|
||||
:row-conversation-root-status-id
|
||||
|
|
|
@ -2379,5 +2379,5 @@ printed, on the main window."
|
|||
(when-let* ((selected-row (line-oriented-window:selected-row-fields *thread-window*))
|
||||
(username (db:row-message-username selected-row))
|
||||
(account (db:acct->user username))
|
||||
(avatar-url (db-utils:db-getf account :avatar)))
|
||||
(avatar-url (db:row-avatar account)))
|
||||
(open-attach-window:open-attachment avatar-url)))
|
||||
|
|
Loading…
Reference in New Issue