1
0
Fork 0

- refactored some code in a function: 'db:row-avatar'.

This commit is contained in:
cage 2021-11-19 10:43:33 +01:00
parent 6ed5432d2b
commit 77d8deb84e
3 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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

View File

@ -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)))