Loading backend/src/apub/utils.live.ts +4 −2 Original line number Diff line number Diff line Loading @@ -182,7 +182,9 @@ export class APubLive implements IAPubUtils { static async reply<T extends fedify.Object>(replyTo: T, reply: T) { const apub = this.get(); const recipients = await apub.getRecipients(reply); const recipient = await this.lookupActor(replyTo.attributionId!); if (!recipient) throw new Error("Failed to get recipient"); reply = apub.prepareObject(reply, Date.now()); reply = reply.clone({ Loading @@ -194,7 +196,7 @@ export class APubLive implements IAPubUtils { await apub.ctx.sendActivity( { identifier: USER_IDENTIFIER }, recipients, recipient, new Create({ id: new URL("#create", reply.id!), actor: apub.getActorUri(USER_IDENTIFIER), Loading Loading
backend/src/apub/utils.live.ts +4 −2 Original line number Diff line number Diff line Loading @@ -182,7 +182,9 @@ export class APubLive implements IAPubUtils { static async reply<T extends fedify.Object>(replyTo: T, reply: T) { const apub = this.get(); const recipients = await apub.getRecipients(reply); const recipient = await this.lookupActor(replyTo.attributionId!); if (!recipient) throw new Error("Failed to get recipient"); reply = apub.prepareObject(reply, Date.now()); reply = reply.clone({ Loading @@ -194,7 +196,7 @@ export class APubLive implements IAPubUtils { await apub.ctx.sendActivity( { identifier: USER_IDENTIFIER }, recipients, recipient, new Create({ id: new URL("#create", reply.id!), actor: apub.getActorUri(USER_IDENTIFIER), Loading