From 958c6678f9530393e3f55143f2b42b5d5555ae4a Mon Sep 17 00:00:00 2001 From: naskya Date: Mon, 16 Oct 2023 03:04:33 +0900 Subject: [PATCH] feat: publish reaction history by default --- README.md | 3 +++ .../backend/migration/1634486652000-user-public-reactions.js | 2 +- packages/backend/src/models/entities/user-profile.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8d2289ac4..5dc53be41 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ ## 細かい変更点 +- リアクションの履歴を公開する設定をデフォルトで有効に + - 私がみんなのリアクションを見たいと思っているため + - もちろん設定から無効にできます - 標準のフォントを Atkinson Hyperlegible にする変更を取り消し - フォントを変更したい場合は[このカスタム CSS](https://gitlab.com/LunarEclipse363/lunar-misskey-tweaks#setting-a-different-font) を使ってください - 簡体中文の翻訳が存在しない項目では繁体中文の翻訳を用いるように(本家では逆) diff --git a/packages/backend/migration/1634486652000-user-public-reactions.js b/packages/backend/migration/1634486652000-user-public-reactions.js index 95b957f11..581c7f01e 100644 --- a/packages/backend/migration/1634486652000-user-public-reactions.js +++ b/packages/backend/migration/1634486652000-user-public-reactions.js @@ -4,7 +4,7 @@ export class userPublicReactions1634486652000 { } async up(queryRunner) { await queryRunner.query( - `ALTER TABLE "user_profile" ADD "publicReactions" boolean NOT NULL DEFAULT false`, + `ALTER TABLE "user_profile" ADD "publicReactions" boolean NOT NULL DEFAULT true`, ); } async down(queryRunner) { diff --git a/packages/backend/src/models/entities/user-profile.ts b/packages/backend/src/models/entities/user-profile.ts index 19c811cf9..48fe3b3cd 100644 --- a/packages/backend/src/models/entities/user-profile.ts +++ b/packages/backend/src/models/entities/user-profile.ts @@ -91,7 +91,7 @@ export class UserProfile { public emailNotificationTypes: string[]; @Column("boolean", { - default: false, + default: true, }) public publicReactions: boolean;