Loading backend/src/lib/apub/utils.ts +2 −6 Original line number Diff line number Diff line Loading @@ -215,7 +215,6 @@ export class APub { id: new URL("#create", this.ctx.getObjectUri(ChatMessage, { id })), actor: sender, to: target, published: content.published, object: content, }), { fanout: "skip" } Loading Loading @@ -252,7 +251,6 @@ export class APub { id: new URL("#create", this.ctx.getObjectUri(Note, { id })), actor: sender, to: target, published: content.published, object: content, }), { fanout: "skip" } Loading Loading @@ -285,7 +283,6 @@ export class APub { const sender = this.ctx.getActorUri(USER_IDENTIFIER); const content = { mediaType: "text/html", content: `Code: ${one_time_code} Do not share this code. This code is used to identify you.`, Loading @@ -296,7 +293,7 @@ Do not share this code. This code is used to identify you.`, return new ChatMessage({ id: this.ctx.getObjectUri(ChatMessage, { id }), attribution: sender, to: target, to: target.id, published: Temporal.Instant.from(createdAt.toISOString()), ...content, }); Loading @@ -304,9 +301,8 @@ Do not share this code. This code is used to identify you.`, return new Note({ id: this.ctx.getObjectUri(Note, { id }), attribution: sender, to: target, to: target.id, published: Temporal.Instant.from(createdAt.toISOString()), summary: null, tags: [ new Mention({ href: target.id, Loading Loading
backend/src/lib/apub/utils.ts +2 −6 Original line number Diff line number Diff line Loading @@ -215,7 +215,6 @@ export class APub { id: new URL("#create", this.ctx.getObjectUri(ChatMessage, { id })), actor: sender, to: target, published: content.published, object: content, }), { fanout: "skip" } Loading Loading @@ -252,7 +251,6 @@ export class APub { id: new URL("#create", this.ctx.getObjectUri(Note, { id })), actor: sender, to: target, published: content.published, object: content, }), { fanout: "skip" } Loading Loading @@ -285,7 +283,6 @@ export class APub { const sender = this.ctx.getActorUri(USER_IDENTIFIER); const content = { mediaType: "text/html", content: `Code: ${one_time_code} Do not share this code. This code is used to identify you.`, Loading @@ -296,7 +293,7 @@ Do not share this code. This code is used to identify you.`, return new ChatMessage({ id: this.ctx.getObjectUri(ChatMessage, { id }), attribution: sender, to: target, to: target.id, published: Temporal.Instant.from(createdAt.toISOString()), ...content, }); Loading @@ -304,9 +301,8 @@ Do not share this code. This code is used to identify you.`, return new Note({ id: this.ctx.getObjectUri(Note, { id }), attribution: sender, to: target, to: target.id, published: Temporal.Instant.from(createdAt.toISOString()), summary: null, tags: [ new Mention({ href: target.id, Loading