Commit d50b497e authored by Grant's avatar Grant
Browse files

minor changes to hopefully fix piefed & mbin

parent 1a6e77d5
Loading
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ export class APub {
        id: new URL("#create", this.ctx.getObjectUri(ChatMessage, { id })),
        actor: sender,
        to: target,
        published: content.published,
        object: content,
      }),
      { fanout: "skip" }
@@ -251,6 +252,7 @@ export class APub {
        id: new URL("#create", this.ctx.getObjectUri(Note, { id })),
        actor: sender,
        to: target,
        published: content.published,
        object: content,
      }),
      { fanout: "skip" }
@@ -283,6 +285,7 @@ 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.`,
@@ -293,7 +296,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.id,
          to: target,
          published: Temporal.Instant.from(createdAt.toISOString()),
          ...content,
        });
@@ -301,8 +304,9 @@ 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.id,
          to: target,
          published: Temporal.Instant.from(createdAt.toISOString()),
          summary: null,
          tags: [
            new Mention({
              href: target.id,