diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 16:49:23 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 16:49:23 +0900 |
| commit | 9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed (patch) | |
| tree | 9bae26e351d3cc849b8f38823a3907e9e6b87d13 /src/models | |
| parent | Fix #6819 (diff) | |
| download | sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.tar.gz sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.tar.bz2 sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.zip | |
autoWatch機能を削除
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/entities/user-profile.ts | 5 | ||||
| -rw-r--r-- | src/models/repositories/user.ts | 1 |
2 files changed, 0 insertions, 6 deletions
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 @@ -109,11 +109,6 @@ export class UserProfile { @Column('boolean', { default: false, }) - public autoWatch: boolean; - - @Column('boolean', { - default: false, - }) public autoAcceptFollowed: boolean; @Column('boolean', { 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<User> { ...(opts.detail && meId === user.id ? { avatarId: user.avatarId, bannerId: user.bannerId, - autoWatch: profile!.autoWatch, injectFeaturedNote: profile!.injectFeaturedNote, alwaysMarkNsfw: profile!.alwaysMarkNsfw, carefulBot: profile!.carefulBot, |