Commit 6a7ae58e authored by Grant's avatar Grant
Browse files

Revert "minor changes to hopefully fix piefed & mbin"

This reverts commit d50b497e.
parent d50b497e
Loading
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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" }
@@ -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" }
@@ -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.`,
@@ -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,
        });
@@ -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,