From 9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Nov 2020 16:49:23 +0900 Subject: autoWatch機能を削除 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/entities/user-profile.ts | 5 ----- src/models/repositories/user.ts | 1 - 2 files changed, 6 deletions(-) (limited to 'src/models') diff --git a/src/models/entities/user-profile.ts b/src/models/entities/user-profile.ts index 7195c20ffe..bd37da5ecc 100644 --- a/src/models/entities/user-profile.ts +++ b/src/models/entities/user-profile.ts @@ -106,11 +106,6 @@ export class UserProfile { }) public room: Record; - @Column('boolean', { - default: false, - }) - public autoWatch: boolean; - @Column('boolean', { default: false, }) diff --git a/src/models/repositories/user.ts b/src/models/repositories/user.ts index 4ac7c6d85d..a334196832 100644 --- a/src/models/repositories/user.ts +++ b/src/models/repositories/user.ts @@ -235,7 +235,6 @@ export class UserRepository extends Repository { ...(opts.detail && meId === user.id ? { avatarId: user.avatarId, bannerId: user.bannerId, - autoWatch: profile!.autoWatch, injectFeaturedNote: profile!.injectFeaturedNote, alwaysMarkNsfw: profile!.alwaysMarkNsfw, carefulBot: profile!.carefulBot, -- cgit v1.2.3-freya