diff --git a/packages/backend/migration/1682891891317-AddHiddenPosts.js b/packages/backend/migration/1682891891317-AddHiddenPosts.js
index 9fbb553b3b..827470f88e 100644
--- a/packages/backend/migration/1682891891317-AddHiddenPosts.js
+++ b/packages/backend/migration/1682891891317-AddHiddenPosts.js
@@ -8,6 +8,8 @@ export class AddHiddenPosts1682891891317 {
}
async down(queryRunner) {
- await queryRunner.query(`ALTER TYPE note_visibility_enum REMOVE VALUE IF EXISTS 'hidden'`);
+ await queryRunner.query(
+ `ALTER TYPE note_visibility_enum REMOVE VALUE IF EXISTS 'hidden'`,
+ );
}
}
diff --git a/packages/backend/src/remote/activitypub/models/note.ts b/packages/backend/src/remote/activitypub/models/note.ts
index 719feb56f6..f37af6cb4f 100644
--- a/packages/backend/src/remote/activitypub/models/note.ts
+++ b/packages/backend/src/remote/activitypub/models/note.ts
@@ -704,7 +704,8 @@ export async function updateNote(value: string | IObject, resolver?: Resolver) {
multiple: poll?.multiple,
votes: poll?.votes,
expiresAt: poll?.expiresAt,
- noteVisibility: note.visibility === "hidden" ? "home" : note.visibility,
+ noteVisibility:
+ note.visibility === "hidden" ? "home" : note.visibility,
},
);
updating = true;
diff --git a/packages/backend/src/services/note/reaction/create.ts b/packages/backend/src/services/note/reaction/create.ts
index 4b9b20ec30..4cf1fd0941 100644
--- a/packages/backend/src/services/note/reaction/create.ts
+++ b/packages/backend/src/services/note/reaction/create.ts
@@ -144,7 +144,11 @@ export default async (
});
//#region deliver
- if (Users.isLocalUser(user) && !note.localOnly && note.visibility !== "hidden") {
+ if (
+ Users.isLocalUser(user) &&
+ !note.localOnly &&
+ note.visibility !== "hidden"
+ ) {
const content = renderActivity(await renderLike(record, note));
const dm = new DeliverManager(user, content);
if (note.userHost !== null) {
diff --git a/packages/client/src/components/MkNoteHeader.vue b/packages/client/src/components/MkNoteHeader.vue
index 740cfc38fa..2834111208 100644
--- a/packages/client/src/components/MkNoteHeader.vue
+++ b/packages/client/src/components/MkNoteHeader.vue
@@ -22,8 +22,9 @@
v-if="note.updatedAt"
:time="note.updatedAt"
mode="none"
- > ( {{ i18n.ts.edited }})
+ (
+ {{ i18n.ts.edited }})
{{ i18n.ts.signupsDisabled }}
-