Loading backend/src/models/AuthSession.ts +2 −2 Original line number Diff line number Diff line Loading @@ -145,14 +145,14 @@ Do not share this code. This code is used to identify you.`; case "ChatMessage": case "http://litepub.social/ns#ChatMessage": return new fedify.ChatMessage({ to, to: to.id!, published: this.createdAt.toTemporalInstant(), content, }) as any; case "Note": case "https://www.w3.org/ns/activitystreams#Note": return new fedify.Note({ to, to: to.id!, published: this.createdAt.toTemporalInstant(), content, tags: [ Loading backend/src/models/TransientNote.ts +2 −2 Original line number Diff line number Diff line Loading @@ -18,14 +18,14 @@ export class TransientNote implements IMessageBuilder< case "ChatMessage": case "http://litepub.social/ns#ChatMessage": return new fedify.ChatMessage({ to: this.toActor, to: this.toActor.id!, published, content: this.message, }) as any; case "Note": case "https://www.w3.org/ns/activitystreams#Note": return new fedify.Note({ to: this.toActor, to: this.toActor.id!, published, content: this.message, tags: [ Loading Loading
backend/src/models/AuthSession.ts +2 −2 Original line number Diff line number Diff line Loading @@ -145,14 +145,14 @@ Do not share this code. This code is used to identify you.`; case "ChatMessage": case "http://litepub.social/ns#ChatMessage": return new fedify.ChatMessage({ to, to: to.id!, published: this.createdAt.toTemporalInstant(), content, }) as any; case "Note": case "https://www.w3.org/ns/activitystreams#Note": return new fedify.Note({ to, to: to.id!, published: this.createdAt.toTemporalInstant(), content, tags: [ Loading
backend/src/models/TransientNote.ts +2 −2 Original line number Diff line number Diff line Loading @@ -18,14 +18,14 @@ export class TransientNote implements IMessageBuilder< case "ChatMessage": case "http://litepub.social/ns#ChatMessage": return new fedify.ChatMessage({ to: this.toActor, to: this.toActor.id!, published, content: this.message, }) as any; case "Note": case "https://www.w3.org/ns/activitystreams#Note": return new fedify.Note({ to: this.toActor, to: this.toActor.id!, published, content: this.message, tags: [ Loading