Skip to content

Commit

Permalink
Fix rendering activities with objects with id
Browse files Browse the repository at this point in the history
  • Loading branch information
RangerMauve committed Apr 17, 2024
1 parent 9808518 commit c4e17b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class DistributedActivity extends HTMLElement {
if (isDirectPost) {
postUrl = this.activityData.object
} else if (this.activityData.object && this.activityData.object.id) {
postUrl = this.activityData.id
postUrl = this.activityData.object.id
} else {
postUrl = this.activityData.object
}
Expand Down

0 comments on commit c4e17b2

Please sign in to comment.