Link to local accounts from settings

This commit is contained in:
diondiondion 2025-10-02 17:04:33 +02:00
parent 0d7af7e1fe
commit 4426c6b513

View File

@ -21,7 +21,7 @@ module HomeHelper
end
end
else
link_to(path || ActivityPub::TagManager.instance.url_for(account), class: 'account__display-name') do
link_to(path || "@#{account.acct}", class: 'account__display-name') do
content_tag(:div, class: 'account__avatar-wrapper') do
image_tag(full_asset_url(current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url), class: 'account__avatar', width: 46, height: 46)
end +