Skip to content

Commit

Permalink
Used attributedTo for the Like activities on the profile page (#2…
Browse files Browse the repository at this point in the history
…1367)

refs
[AP-487](https://linear.app/ghost/issue/AP-487/likes-on-profile-info-displaying-incorrect-actor-info)

Used `attributedTo` for the `Like` activities on the profile page of the
`admin-x-activitypub` app
  • Loading branch information
mike182uk authored Oct 22, 2024
1 parent 1626a0c commit febb7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/admin-x-activitypub/src/components/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Profile: React.FC<ProfileProps> = ({}) => {
data-test-view-article
>
<FeedItem
actor={activity.actor}
actor={activity.object?.attributedTo || activity.actor}
layout={layout}
object={Object.assign({}, activity.object, {liked: true})}
type={activity.type}
Expand Down

0 comments on commit febb7f7

Please sign in to comment.