Skip to content

Commit

Permalink
fix: use announcements actor id for activity
Browse files Browse the repository at this point in the history
  • Loading branch information
catdevnull committed Mar 13, 2024
1 parent a82ff74 commit c5c2516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/announcements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class Announcements {
'@context': 'https://www.w3.org/ns/activitystreams',
type: 'Note',
id: `${this.outboxUrl}/${nanoid()}`,
actor: info.actorUrl,
actor: this.actorUrl,
attributedTo: info.actorUrl,
published: new Date().toUTCString(),
to: ['https://www.w3.org/ns/activitystreams#Public'],
Expand Down

0 comments on commit c5c2516

Please sign in to comment.