summary refs log tree commit diff
path: root/src/util/entities/Message.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/entities/Message.ts')
-rw-r--r--src/util/entities/Message.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts

index 32bd715e..07ec8195 100644 --- a/src/util/entities/Message.ts +++ b/src/util/entities/Message.ts
@@ -251,7 +251,7 @@ export class Message extends BaseClass { type: "Announce", actor: `https://${webDomain}/fed/user/${this.author_id}`, published: this.timestamp, - to: `https://${webDomain}/fed/channel/${this.channel_id}`, + to: ["https://www.w3.org/ns/activitystreams#Public"], object: this.toAP(), }; } @@ -265,7 +265,7 @@ export class Message extends BaseClass { published: this.timestamp, url: `https://${webDomain}/fed/messages/${this.id}`, attributedTo: `https://${webDomain}/fed/user/${this.author_id}`, - to: `https://${webDomain}/fed/channel/${this.channel_id}/followers`, + to: ["https://www.w3.org/ns/activitystreams#Public"], content: this.content, }; }